b311480e |
1 | # Copyright (c) 1999-2012 OPEN CASCADE SAS |
2 | # |
3 | # The content of this file is subject to the Open CASCADE Technology Public |
4 | # License Version 6.5 (the "License"). You may not use the content of this file |
5 | # except in compliance with the License. Please obtain a copy of the License |
6 | # at http://www.opencascade.org and read it completely before using this file. |
7 | # |
8 | # The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
9 | # main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
10 | # |
11 | # The Original Code and all software distributed under the License is |
12 | # distributed on an "AS IS" basis, without warranty of any kind, and the |
13 | # Initial Developer hereby disclaims all such warranties, including without |
14 | # limitation, any warranties of merchantability, fitness for a particular |
15 | # purpose or non-infringement. Please see the License for the specific terms |
16 | # and conditions governing the rights and limitations under the License. |
17 | |
7fd59977 |
18 | ;# |
19 | ;# Liste des toolkits WOK sous forme de full path |
20 | ;# |
21 | proc ModelingData:toolkits { } { |
22 | return [list TKG2d \ |
23 | TKG3d \ |
24 | TKGeomBase \ |
25 | TKBRep \ |
26 | ] |
27 | } |
28 | ;# |
29 | ;# Autres UDs a prendre. |
30 | ;# |
31 | proc ModelingData:ressources { } { |
32 | |
33 | } |
34 | ;# |
35 | ;# Nom du module |
36 | ;# |
37 | proc ModelingData:name { } { |
38 | return ModelingData |
39 | } |
40 | proc ModelingData:alias { } { |
046fed1e |
41 | return DATA |
7fd59977 |
42 | } |
43 | proc ModelingData:depends { } { |
44 | return [list FoundationClasses] |
45 | } |
46 | ;# |
47 | ;# Pre-requis pour la compilation ( -I ... ) |
48 | ;# Returns a list of directory that should be used in -I directives |
49 | ;# while compiling c or c++ files. |
50 | ;# |
51 | proc ModelingData:CompileWith { } { |
52 | |
53 | set l {} |
54 | switch -- [OS:os] { |
55 | HP-UX { |
56 | } |
57 | Linux { |
58 | lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include" |
59 | lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/linux" |
60 | lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include" |
61 | lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]" |
62 | } |
63 | SunOS { |
64 | lappend l "/usr/openwin/include" |
65 | lappend l "/usr/dt/include" |
66 | lappend l "[lindex [wokparam -v %CSF_CXX_INCLUDE] 0]" |
67 | lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include" |
68 | lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/solaris" |
69 | lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include" |
70 | } |
71 | IRIX { |
72 | lappend l "/usr/include/CC" |
73 | } |
74 | |
75 | } |
76 | return $l |
77 | } |
78 | ;# |
79 | ;# Pre-requis pour la compilation ( -L ... ) |
80 | ;# Returns a list of directory that should be used in -L directives |
81 | ;# while creating shareable. |
82 | ;# |
83 | proc ModelingData:LinksoWith { } { |
84 | |
85 | set l {} |
86 | switch -- [OS:os] { |
87 | HP-UX { |
88 | } |
89 | Linux { |
90 | } |
91 | SunOS { |
92 | lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltcl" |
93 | lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltcl" |
94 | } |
95 | IRIX { |
96 | lappend l /usr/lib32 |
97 | } |
98 | |
99 | } |
100 | return $l |
101 | } |
102 | ;# |
103 | ;# Returns a list of exported features. |
104 | ;# source : Source files |
105 | ;# runtime: Shareables |
106 | ;# wokadm : WOK admin files |
107 | ;# api : Public include files |
108 | ;# |
109 | proc ModelingData:Export { } { |
110 | return [list source runtime wokadm api] |
111 | } |