Xcos MVC: fix header licences
[scilab.git] / scilab / modules / tclsci / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2006 - INRIA - Sylvestre LEDRU
3 #
4 # This file is distributed under the same license as the Scilab package.
5
6
7 if TCLTK
8
9 TCLSCI_C_SOURCES = \
10     src/c/TCL_Global.c \
11     src/c/InitTclTk.c \
12     src/c/ScilabEval.c \
13     src/c/setenvtcl.c \
14     src/c/InitializeTclTk.c \
15     src/c/TerminateTclTk.c \
16     src/c/setvar.c \
17     src/c/TCL_ArrayDim.c \
18     src/c/TCL_ArrayExist.c \
19     src/c/TCL_ArrayGetVar.c \
20     src/c/TCL_ArraySize.c \
21     src/c/TCL_Command.c \
22     src/c/GlobalTclInterp.c \
23     src/c/TCL_getErrorLine.c
24
25 GATEWAY_C_SOURCES = \
26     sci_gateway/c/sci_opentk.c \
27     sci_gateway/c/sci_TCL_SetVar.c \
28     sci_gateway/c/sci_TCL_ExistVar.c \
29     sci_gateway/c/sci_TCL_DoOneEvent.c \
30     sci_gateway/c/sci_TCL_UnsetVar.c \
31     sci_gateway/c/sci_TCL_ExistInterp.c \
32     sci_gateway/c/gw_tclsci.c \
33     sci_gateway/c/sci_TCL_EvalStr.c \
34     sci_gateway/c/sci_TCL_DeleteInterp.c \
35     sci_gateway/c/sci_TCL_GetVersion.c \
36     sci_gateway/c/sci_TCL_EvalFile.c \
37     sci_gateway/c/sci_TCL_GetVar.c \
38     sci_gateway/c/sci_TCL_ExistArray.c \
39     sci_gateway/c/sci_TCL_UpVar.c
40
41 else
42
43 TCLSCI_C_SOURCES = src/notclsci/notclsci.c
44
45 GATEWAY_C_SOURCES =
46
47 endif
48
49 pkglib_LTLIBRARIES = libscitclsci.la
50 noinst_LTLIBRARIES = libscitclsci-algo.la
51
52 libscitclsci_la_LDFLAGS = $(AM_LDFLAGS)
53
54 libscitclsci_la_CPPFLAGS= \
55     -I$(srcdir)/includes/ \
56     -I$(srcdir)/src/c \
57     -I$(srcdir)/sci_gateway/c/ \
58     $(TCL_INC_PATH) \
59     $(TK_INC_PATH) \
60     -I$(top_srcdir)/modules/ast/includes/ast/ \
61     -I$(top_srcdir)/modules/ast/includes/exps/ \
62     -I$(top_srcdir)/modules/ast/includes/operations/ \
63     -I$(top_srcdir)/modules/ast/includes/parse/ \
64     -I$(top_srcdir)/modules/ast/includes/symbol/ \
65     -I$(top_srcdir)/modules/ast/includes/system_env/ \
66     -I$(top_srcdir)/modules/ast/includes/types/ \
67     -I$(top_srcdir)/modules/action_binding/includes/ \
68     -I$(top_srcdir)/modules/fileio/includes/ \
69     -I$(top_srcdir)/modules/call_scilab/includes/ \
70     -I$(top_srcdir)/modules/output_stream/includes/ \
71     -I$(top_srcdir)/modules/localization/includes/ \
72     -I$(top_srcdir)/modules/api_scilab/includes/ \
73     -I$(top_srcdir)/modules/threads/includes/ \
74     -I$(top_srcdir)/modules/string/includes/ \
75     $(AM_CPPFLAGS)
76
77 libscitclsci_algo_la_SOURCES = $(TCLSCI_C_SOURCES)
78 libscitclsci_la_SOURCES = $(GATEWAY_C_SOURCES)
79 libscitclsci_algo_la_CPPFLAGS = $(libscitclsci_la_CPPFLAGS)
80
81 # For the code check (splint)
82 CHECK_SRC= $(libscitclsci_la_SOURCES)
83 INCLUDE_FLAGS = $(libscitclsci_la_CPPFLAGS)
84
85 libscitclsci_la_LIBADD = libscitclsci-algo.la $(TCLTK_LIBS)
86 #### Target ######
87 modulename=tclsci
88
89 #### tclsci : Conf files ####
90 libscitclsci_la_rootdir = $(mydatadir)
91 libscitclsci_la_root_DATA =  license.txt 
92
93 #### tclsci : init scripts ####
94 libscitclsci_la_etcdir = $(mydatadir)/etc
95 libscitclsci_la_etc_DATA = \
96     etc/tclsci.quit \
97     etc/tclsci.start
98
99 ### TCL macros ###
100 libscitclsci_la_tcldir = $(mydatadir)
101 nobase_libscitclsci_la_tcl_DATA = \
102 tcl/utils/Notebook.tcl \
103 tcl/utils/Balloon.tcl \
104 tcl/utils/Combobox.tcl \
105 tcl/sciGUI/data/initial.help \
106 tcl/sciGUI/data/dontshow.txt \
107 tcl/sciGUI/data/tp00.gif \
108 tcl/sciGUI/data/tp01.gif \
109 tcl/sciGUI/data/tp10.gif \
110 tcl/sciGUI/data/tp02.gif \
111 tcl/sciGUI/data/initial \
112 tcl/sciGUI/data/tp04.gif \
113 tcl/sciGUI/data/giftable.txt \
114 tcl/sciGUI/data/ndemo_tx01.txt \
115 tcl/sciGUI/data/tp05.gif \
116 tcl/sciGUI/data/error.gif \
117 tcl/sciGUI/data/tp06.gif \
118 tcl/sciGUI/data/tp15.gif \
119 tcl/sciGUI/data/tp16.gif \
120 tcl/sciGUI/data/info.gif \
121 tcl/sciGUI/data/tp08.gif \
122 tcl/sciGUI/data/tp17.gif \
123 tcl/sciGUI/data/scilab01.gif \
124 tcl/sciGUI/data/passwd.gif \
125 tcl/sciGUI/data/warning.gif \
126 tcl/sciGUI/data/question.gif \
127 tcl/sciGUI/data/hourglass.gif \
128 tcl/sciGUI/data/icontable.txt \
129 tcl/sciGUI/local_extra/combobox-2.3/ANNOUNCE.txt \
130 tcl/sciGUI/local_extra/combobox-2.3/combobox.tcl \
131 tcl/sciGUI/local_extra/combobox-2.3/README.txt \
132 tcl/sciGUI/local_extra/combobox-2.3/combobox.html \
133 tcl/sciGUI/local_extra/combobox-2.3/example.tcl \
134 tcl/sciGUI/local_extra/balloonhelp.tcl \
135 tcl/sciGUI/local_extra/rnotebook.tcl \
136 tcl/sciGUI/local_extra/spinbutton.tcl \
137 tcl/sciGUI/license.txt \
138 tcl/sciGUI/sciGUI.tcl \
139 tcl/sciGUI/sciBrowseVar.tcl \
140 tcl/sciGUI/sciEditVar.tcl \
141 tcl/TK_Scilab.tcl
142
143 #### tclsci : gateway declaration ####
144 libscitclsci_la_sci_gatewaydir = $(mydatadir)/sci_gateway
145 libscitclsci_la_sci_gateway_DATA = sci_gateway/tclsci_gateway.xml
146
147 include $(top_srcdir)/Makefile.incl.am
148