header moved
[scilab.git] / scilab / modules / tclsci / Makefile.am
1 ##########
2 ### Sylvestre Ledru <sylvestre.ledru@inria.fr>
3 ### INRIA - Scilab 2006
4 ##########
5
6 if TCLTK
7
8 TCLSCI_C_SOURCES = src/c/GedManagement.c \
9 src/c/TclUiGet.c \
10 src/c/TCL_Global.c \
11 src/c/tksynchro.c \
12 src/c/InitTclTk.c \
13 src/c/ScilabEval.c \
14 src/c/TclEvents.c \
15 src/c/setenvtcl.c \
16 src/c/TclUiSet.c \
17 src/c/InitializeTclTk.c \
18 src/c/TerminateTclTk.c \
19 src/c/withtk.c \
20 src/c/setvar.c \
21 src/c/TCL_ArrayDim.c \
22 src/c/TCL_ArrayExist.c \
23 src/c/TCL_ArrayGetVar.c \
24 src/c/TCL_ArraySize.c
25
26
27 GATEWAY_C_SOURCES =  sci_gateway/c/sci_TCL_CreateSlave.c \
28 sci_gateway/c/sci_opentk.c \
29 sci_gateway/c/sci_TCL_gcf.c \
30 sci_gateway/c/sci_close.c \
31 sci_gateway/c/sci_TCL_SetVar.c \
32 sci_gateway/c/sci_TCL_ExistVar.c \
33 sci_gateway/c/sci_TCL_DoOneEvent.c \
34 sci_gateway/c/sci_TCL_UnsetVar.c \
35 sci_gateway/c/sci_findobj.c \
36 sci_gateway/c/sci_get.c \
37 sci_gateway/c/sci_TCL_ExistInterp.c \
38 sci_gateway/c/gw_tclsci.c \
39 sci_gateway/c/sci_TCL_EvalStr.c \
40 sci_gateway/c/sci_TCL_DeleteInterp.c \
41 sci_gateway/c/sci_TCL_GetVersion.c \
42 sci_gateway/c/sci_TCL_EvalFile.c \
43 sci_gateway/c/sci_TCL_GetVar.c \
44 sci_gateway/c/sci_set.c \
45 sci_gateway/c/sci_TCL_ExistArray.c \
46 sci_gateway/c/sci_TCL_UpVar.c
47
48 pkglib_LTLIBRARIES = libscitclsci.la
49
50 libscitclsci_la_CFLAGS= -Iincludes/ \
51                         -Isrc/c \
52                         -Isci_gateway/c/ \
53                         -I$(top_srcdir)/libs/MALLOC/includes/ \
54                         $(TCL_INC_PATH) \
55                         $(TK_INC_PATH) \
56                         -I$(top_srcdir)/modules/action_binding/includes \
57                         -I$(top_srcdir)/modules/output_stream/includes
58
59 libscitclsci_la_LDFLAGS= $(TCLTK_LIBS)
60
61 libscitclsci_la_SOURCES = $(TCLSCI_C_SOURCES) $(GATEWAY_C_SOURCES)
62
63 libscitclsci_la_LIBADD = \
64         $(top_builddir)/modules/intersci/libsciintersci.la \
65         $(top_builddir)/modules/core/libscicore.la \
66         $(top_builddir)/libs/MALLOC/libscimalloc.la
67
68 #### Target ######
69 modulename=tclsci
70
71
72 #### tclsci : Conf files ####
73 libscitclsci_la_rootdir = $(mydatadir)
74 libscitclsci_la_root_DATA = changelog.txt licence.txt readme.txt version.xml
75
76
77 ### TCL macros ###
78 libscitclsci_la_tcldir = $(mydatadir)
79 nobase_libscitclsci_la_tcl_DATA = tcl/utils/tk_choose.tcl \
80 tcl/utils/Notebook.tcl \
81 tcl/utils/Balloon.tcl \
82 tcl/utils/Combobox.tcl \
83 tcl/sciGUI/data/initial.help \
84 tcl/sciGUI/data/dontshow.txt \
85 tcl/sciGUI/data/tp00.gif \
86 tcl/sciGUI/data/tp01.gif \
87 tcl/sciGUI/data/tp10.gif \
88 tcl/sciGUI/data/tp02.gif \
89 tcl/sciGUI/data/initial \
90 tcl/sciGUI/data/tp04.gif \
91 tcl/sciGUI/data/giftable.txt \
92 tcl/sciGUI/data/ndemo_tx01.txt \
93 tcl/sciGUI/data/tp05.gif \
94 tcl/sciGUI/data/error.gif \
95 tcl/sciGUI/data/tp06.gif \
96 tcl/sciGUI/data/tp15.gif \
97 tcl/sciGUI/data/tp16.gif \
98 tcl/sciGUI/data/info.gif \
99 tcl/sciGUI/data/tp08.gif \
100 tcl/sciGUI/data/tp17.gif \
101 tcl/sciGUI/data/scilab01.gif \
102 tcl/sciGUI/data/passwd.gif \
103 tcl/sciGUI/data/warning.gif \
104 tcl/sciGUI/data/question.gif \
105 tcl/sciGUI/data/hourglass.gif \
106 tcl/sciGUI/data/icontable.txt \
107 tcl/sciGUI/local_extra/combobox-2.3/ANNOUNCE.txt \
108 tcl/sciGUI/local_extra/combobox-2.3/combobox.tcl \
109 tcl/sciGUI/local_extra/combobox-2.3/README.txt \
110 tcl/sciGUI/local_extra/combobox-2.3/combobox.html \
111 tcl/sciGUI/local_extra/combobox-2.3/example.tcl \
112 tcl/sciGUI/local_extra/HelpSystem-1.5/gpl.txt \
113 tcl/sciGUI/local_extra/HelpSystem-1.5/license.txt \
114 tcl/sciGUI/local_extra/HelpSystem-1.5/help_2htm.tcl \
115 tcl/sciGUI/local_extra/HelpSystem-1.5/help.tcl \
116 tcl/sciGUI/local_extra/HelpSystem-1.5/help_tbl.tcl \
117 tcl/sciGUI/local_extra/HelpSystem-1.5/readme.txt \
118 tcl/sciGUI/local_extra/HelpSystem-1.5/help_chk.tcl \
119 tcl/sciGUI/local_extra/balloonhelp.tcl \
120 tcl/sciGUI/local_extra/rnotebook.tcl \
121 tcl/sciGUI/local_extra/spinbutton.tcl \
122 tcl/sciGUI/license.txt \
123 tcl/sciGUI/sciBar.tcl \
124 tcl/sciGUI/sciGUI.tcl \
125 tcl/sciGUI/sciConfig.tcl \
126 tcl/sciGUI/sciBrowseVar.tcl \
127 tcl/sciGUI/sciDemoPlay.tcl \
128 tcl/sciGUI/sciEditVar.tcl \
129 tcl/sciGUI/sciBrowseHelp.tcl \
130 tcl/BWidget-1.8.0/demo/select.tcl \
131 tcl/BWidget-1.8.0/demo/tree.tcl \
132 tcl/BWidget-1.8.0/demo/basic.tcl \
133 tcl/BWidget-1.8.0/demo/tmpldlg.tcl \
134 tcl/BWidget-1.8.0/demo/demo.tcl \
135 tcl/BWidget-1.8.0/demo/dnd.tcl \
136 tcl/BWidget-1.8.0/demo/bwidget.xbm \
137 tcl/BWidget-1.8.0/demo/manager.tcl \
138 tcl/BWidget-1.8.0/demo/x1.xbm \
139 tcl/BWidget-1.8.0/tests/entry.test \
140 tcl/BWidget-1.8.0/BWman/SelectColor.html \
141 tcl/BWidget-1.8.0/BWman/SpinBox.html \
142 tcl/BWidget-1.8.0/BWman/ButtonBox.html \
143 tcl/BWidget-1.8.0/BWman/ScrollView.html \
144 tcl/BWidget-1.8.0/BWman/LabelFrame.html \
145 tcl/BWidget-1.8.0/BWman/ProgressDlg.html \
146 tcl/BWidget-1.8.0/BWman/TitleFrame.html \
147 tcl/BWidget-1.8.0/BWman/Dialog.html \
148 tcl/BWidget-1.8.0/BWman/Separator.html \
149 tcl/BWidget-1.8.0/BWman/Entry.html \
150 tcl/BWidget-1.8.0/BWman/navtree.html \
151 tcl/BWidget-1.8.0/BWman/SelectFont.html \
152 tcl/BWidget-1.8.0/BWman/PanelFrame.html \
153 tcl/BWidget-1.8.0/BWman/Button.html \
154 tcl/BWidget-1.8.0/BWman/MessageDlg.html \
155 tcl/BWidget-1.8.0/BWman/PanedWindow.html \
156 tcl/BWidget-1.8.0/BWman/Label.html \
157 tcl/BWidget-1.8.0/BWman/options.htm \
158 tcl/BWidget-1.8.0/BWman/NoteBook.html \
159 tcl/BWidget-1.8.0/BWman/Widget.html \
160 tcl/BWidget-1.8.0/BWman/ListBox.html \
161 tcl/BWidget-1.8.0/BWman/BWidget.html \
162 tcl/BWidget-1.8.0/BWman/ArrowButton.html \
163 tcl/BWidget-1.8.0/BWman/PasswdDlg.html \
164 tcl/BWidget-1.8.0/BWman/ProgressBar.html \
165 tcl/BWidget-1.8.0/BWman/DropSite.html \
166 tcl/BWidget-1.8.0/BWman/PagesManager.html \
167 tcl/BWidget-1.8.0/BWman/ScrollableFrame.html \
168 tcl/BWidget-1.8.0/BWman/DynamicHelp.html \
169 tcl/BWidget-1.8.0/BWman/contents.html \
170 tcl/BWidget-1.8.0/BWman/ScrolledWindow.html \
171 tcl/BWidget-1.8.0/BWman/MainFrame.html \
172 tcl/BWidget-1.8.0/BWman/Tree.html \
173 tcl/BWidget-1.8.0/BWman/LabelEntry.html \
174 tcl/BWidget-1.8.0/BWman/DragSite.html \
175 tcl/BWidget-1.8.0/BWman/index.html \
176 tcl/BWidget-1.8.0/BWman/StatusBar.html \
177 tcl/BWidget-1.8.0/BWman/ComboBox.html \
178 tcl/BWidget-1.8.0/images/folder.gif \
179 tcl/BWidget-1.8.0/images/minus.xbm \
180 tcl/BWidget-1.8.0/images/paste.gif \
181 tcl/BWidget-1.8.0/images/dragfile.gif \
182 tcl/BWidget-1.8.0/images/oplink.xbm \
183 tcl/BWidget-1.8.0/images/file.gif \
184 tcl/BWidget-1.8.0/images/bold.gif \
185 tcl/BWidget-1.8.0/images/underline.gif \
186 tcl/BWidget-1.8.0/images/dragicon.gif \
187 tcl/BWidget-1.8.0/images/opmove.xbm \
188 tcl/BWidget-1.8.0/images/new.gif \
189 tcl/BWidget-1.8.0/images/error.gif \
190 tcl/BWidget-1.8.0/images/redo.gif \
191 tcl/BWidget-1.8.0/images/opcopy.xbm \
192 tcl/BWidget-1.8.0/images/info.gif \
193 tcl/BWidget-1.8.0/images/cut.gif \
194 tcl/BWidget-1.8.0/images/print.gif \
195 tcl/BWidget-1.8.0/images/overstrike.gif \
196 tcl/BWidget-1.8.0/images/palette.gif \
197 tcl/BWidget-1.8.0/images/save.gif \
198 tcl/BWidget-1.8.0/images/open.gif \
199 tcl/BWidget-1.8.0/images/passwd.gif \
200 tcl/BWidget-1.8.0/images/plus.xbm \
201 tcl/BWidget-1.8.0/images/italic.gif \
202 tcl/BWidget-1.8.0/images/undo.gif \
203 tcl/BWidget-1.8.0/images/warning.gif \
204 tcl/BWidget-1.8.0/images/openfold.gif \
205 tcl/BWidget-1.8.0/images/hourglass.gif \
206 tcl/BWidget-1.8.0/images/question.gif \
207 tcl/BWidget-1.8.0/images/target.xbm \
208 tcl/BWidget-1.8.0/images/copy.gif \
209 tcl/BWidget-1.8.0/lang/en.rc \
210 tcl/BWidget-1.8.0/lang/da.rc \
211 tcl/BWidget-1.8.0/lang/es.rc \
212 tcl/BWidget-1.8.0/lang/fr.rc \
213 tcl/BWidget-1.8.0/lang/de.rc \
214 tcl/BWidget-1.8.0/mainframe.tcl \
215 tcl/BWidget-1.8.0/dialog.tcl \
216 tcl/BWidget-1.8.0/utils.tcl \
217 tcl/BWidget-1.8.0/wizard.tcl \
218 tcl/BWidget-1.8.0/labelentry.tcl \
219 tcl/BWidget-1.8.0/entry.tcl \
220 tcl/BWidget-1.8.0/init.tcl \
221 tcl/BWidget-1.8.0/pagesmgr.tcl \
222 tcl/BWidget-1.8.0/font.tcl \
223 tcl/BWidget-1.8.0/pkgIndex.tcl \
224 tcl/BWidget-1.8.0/scrollframe.tcl \
225 tcl/BWidget-1.8.0/panelframe.tcl \
226 tcl/BWidget-1.8.0/button.tcl \
227 tcl/BWidget-1.8.0/panedw.tcl \
228 tcl/BWidget-1.8.0/label.tcl \
229 tcl/BWidget-1.8.0/notebook.tcl \
230 tcl/BWidget-1.8.0/widget.tcl \
231 tcl/BWidget-1.8.0/listbox.tcl \
232 tcl/BWidget-1.8.0/scrollw.tcl \
233 tcl/BWidget-1.8.0/passwddlg.tcl \
234 tcl/BWidget-1.8.0/scrollview.tcl \
235 tcl/BWidget-1.8.0/xpm2image.tcl \
236 tcl/BWidget-1.8.0/arrow.tcl \
237 tcl/BWidget-1.8.0/progressdlg.tcl \
238 tcl/BWidget-1.8.0/tree.tcl \
239 tcl/BWidget-1.8.0/separator.tcl \
240 tcl/BWidget-1.8.0/dragsite.tcl \
241 tcl/BWidget-1.8.0/dynhelp.tcl \
242 tcl/BWidget-1.8.0/CHANGES.txt \
243 tcl/BWidget-1.8.0/ChangeLog \
244 tcl/BWidget-1.8.0/combobox.tcl \
245 tcl/BWidget-1.8.0/statusbar.tcl \
246 tcl/BWidget-1.8.0/messagedlg.tcl \
247 tcl/BWidget-1.8.0/bitmap.tcl \
248 tcl/BWidget-1.8.0/color.tcl \
249 tcl/BWidget-1.8.0/LICENSE.txt \
250 tcl/BWidget-1.8.0/spinbox.tcl \
251 tcl/BWidget-1.8.0/buttonbox.tcl \
252 tcl/BWidget-1.8.0/dropsite.tcl \
253 tcl/BWidget-1.8.0/progressbar.tcl \
254 tcl/BWidget-1.8.0/labelframe.tcl \
255 tcl/BWidget-1.8.0/README.txt \
256 tcl/BWidget-1.8.0/titleframe.tcl \
257 tcl/uicontrol.tcl \
258 tcl/callbacks.tcl \
259 tcl/get.tcl \
260 tcl/figure.tcl \
261 tcl/tkcontrols.tcl \
262 tcl/uimenu.tcl \
263 tcl/html_library.tcl \
264 tcl/TK_Scilab.tcl \
265 tcl/misc.tcl \
266 tcl/set.tcl
267
268 #### tclsci : init scripts ####
269 libscitclsci_la_etcdir = $(mydatadir)/etc
270 libscitclsci_la_etc_DATA = etc/tclsci.quit etc/tclsci.start
271
272 #### tclsci : gateway declaration ####
273 libscitclsci_la_sci_gatewaydir = $(mydatadir)/sci_gateway
274 libscitclsci_la_sci_gateway_DATA = sci_gateway/tclsci_gateway.xml
275
276 #### tclsci : include files ####
277 libscitclsci_la_includedir=$(pkgincludedir)/tclsci
278 libscitclsci_la_include_HEADERS = includes/TclUiSet.h \
279 includes/setenvtcl.h\
280 includes/GedManagement.h \
281 includes/TCL_Global.h \
282 includes/ScilabEval.h \
283 includes/TclEvents.h \
284 includes/gw_tclsci.h \
285 includes/TclUiGet.h \
286 includes/InitializeTclTk.h
287
288
289 #### tclsci : demos files sciGUI ####
290 libscitclsci_la_demossciGUIdir=$(mydatadir)/demos/sciGUI/
291 libscitclsci_la_demossciGUI_DATA = demos/sciGUI/sciGUIdemo.dpf \
292 demos/sciGUI/test_demoplay.dpf \
293 demos/sciGUI/scilab01.gif \
294 demos/sciGUI/logo01.gif
295
296 #### tclsci : demos files tk ####
297 libscitclsci_la_demostkdir=$(mydatadir)/demos/tk/
298 libscitclsci_la_demostk_DATA = demos/tk/timer \
299 demos/tk/tk.dem \
300 demos/tk/rolodex.sce \
301 demos/tk/demredraw.sci \
302 demos/tk/rgb.txt \
303 demos/tk/timer.sce \
304 demos/tk/puzzle \
305 demos/tk/uicontrol.sci \
306 demos/tk/scale.sce \
307 demos/tk/cscroll \
308 demos/tk/tcolor \
309 demos/tk/puzzle.sce \
310 demos/tk/scroll.sce \
311 demos/tk/uicontrol1.sce \
312 demos/tk/tcolor.sce \
313 demos/tk/rolodex \
314 demos/tk/vscale
315
316 include $(top_srcdir)/Makefile.incl.am
317
318 else
319
320 TCLSCI_C_SOURCES = src/notclsci/notclsci.c
321 pkglib_LTLIBRARIES = libscitclsci.la
322
323 libscitclsci_la_CFLAGS=  -Iincludes/  -I$(top_srcdir)/libs/MALLOC/includes/
324
325 libscitclsci_la_SOURCES = $(TCLSCI_C_SOURCES)
326
327 libscitclsci_la_LIBADD = \
328         $(top_builddir)/modules/intersci/libsciintersci.la \
329         $(top_builddir)/modules/core/libscicore.la \
330         $(top_builddir)/libs/MALLOC/libscimalloc.la
331
332 #### Target ######
333 modulename=tclsci
334
335
336 #### tclsci : Conf files ####
337 libscitclsci_la_rootdir = $(mydatadir)
338
339 #### tclsci : init scripts ####
340 libscitclsci_la_etcdir = $(mydatadir)/etc
341 libscitclsci_la_etc_DATA = etc/tclsci.quit etc/tclsci.start
342
343 include $(top_srcdir)/Makefile.incl.am
344 endif
345