1 # Copyright (c) 1999-2014 OPEN CASCADE SAS
3 # This file is part of Open CASCADE Technology software library.
5 # This library is free software; you can redistribute it and/or modify it under
6 # the terms of the GNU Lesser General Public License version 2.1 as published
7 # by the Free Software Foundation, with special exception defined in the file
8 # OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9 # distribution for complete text of the license and disclaimer of any warranty.
11 # Alternatively, this file may be used under the terms of Open CASCADE
12 # commercial license or contractual agreement.
15 ;# Liste des toolkits WOK sous forme de full path
17 proc DataExchange:toolkits { } {
18 return [list TKXSBase TKSTEPBase TKSTEPAttr TKSTEP209 TKSTEP TKIGES \
19 TKXCAF TKXDEIGES TKXDESTEP \
20 TKSTL TKVRML TKXmlXCAF TKBinXCAF]
23 ;# Autres UDs a prendre.
25 proc DataExchange:ressources { } {
27 [list both r XSMessage {} ] \
28 [list both r SHMessage {} ] \
29 [list both r XSTEPResource {} ] \
33 ;# retourne une liste de triplets {type <full path1> <target directory>/name}
34 ;# permet de faire : cp <full path> $CASROOT/<target directory>/name
35 ;# On peut ainsi embarquer des fichiers d'un peu partout et les dispatcher sous
36 ;# la racine d'arrivee et ce avec un autre nom.
37 ;# rien n'empeche de CALCULER automatiquement des paths dans cette proc.
38 ;# type = source/runtime/both pour dire si le fichier va dans l'archive en question.
39 ;# une deux (ou les deux) type d'archive fabriquees.
41 proc DataExchange:freefiles { } {
47 proc DataExchange:name { } {
50 proc DataExchange:alias { } {
53 proc DataExchange:depends { } {
54 return [list ApplicationFramework]
57 ;# Liste des includes utilises qui ne sont pas ceux des Wb.
59 proc DataExchange:CompileWith { } {
67 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
68 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/linux"
69 lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
70 lappend l "[lindex [lindex [wokparam -v %STLPortInclude] 0] 0]"
73 lappend l "/usr/openwin/include"
74 lappend l "/usr/dt/include"
75 lappend l "[lindex [wokparam -v %CSF_CXX_INCLUDE] 0]"
76 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include"
77 lappend l "-I[lindex [wokparam -v %CSF_JavaHome] 0]/include/solaris"
78 lappend l "[lindex [wokparam -v %CSF_TCL_HOME] 0]/include"
82 lappend l "/usr/include/CC"
88 ;# Pre-requis pour la compilation ( -L ... )
89 ;# Returns a list of directory that should be used in -L directives
90 ;# while creating shareable.
92 proc DataExchange:LinksoWith { } {
101 lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltcl"
102 lappend l "-L[wokparam -v %CSF_TCL_HOME]/lib -R[wokparam -v %CSF_TCL_HOME]/lib -ltk"
105 lappend l "/usr/lib32"
111 ;# Returns a list of exported features.
112 ;# source : Source files
113 ;# runtime: Shareables
114 ;# wokadm : WOK admin files
115 ;# api : Public include files
117 proc DataExchange:Export { } {
118 return [list source runtime wokadm api]