Linux compilation: add missing files
[scilab.git] / scilab / contrib / Makefile.am
1 # Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2 # Copyright (C) 2008 - DIGITEO - Sylvestre LEDRU
3 # Copyright (C) 2014 - Scilab Enterprises - Clement DAVID
4 #
5 # This file is distributed under the same license as the Scilab package.
6
7 # Install the contrib_skeleton directory (the template)
8
9 SKELETON_FILES=loader.sce \
10 toolbox_skeleton/.gitignore \
11 toolbox_skeleton/DESCRIPTION \
12 toolbox_skeleton/builder.sce \
13 toolbox_skeleton/changelog.txt \
14 toolbox_skeleton/demos/c_sum.dem.sce \
15 toolbox_skeleton/demos/cpp_find.dem.sce \
16 toolbox_skeleton/demos/fortran_sum.dem.sce \
17 toolbox_skeleton/demos/scilab_sum.dem.sce \
18 toolbox_skeleton/demos/toolbox_skeleton.dem.gateway.sce \
19 toolbox_skeleton/etc/toolbox_skeleton.quit \
20 toolbox_skeleton/etc/toolbox_skeleton.start \
21 toolbox_skeleton/etc/toolbox_skeleton_preferences.xml \
22 toolbox_skeleton/etc/toolbox_skeleton_preferences.xsl \
23 toolbox_skeleton/help/builder_help.sce \
24 toolbox_skeleton/help/cleaner_help.sce \
25 toolbox_skeleton/help/en_US/build_help.sce \
26 toolbox_skeleton/help/en_US/c_multiplybypi.xml \
27 toolbox_skeleton/help/en_US/c_sub.xml \
28 toolbox_skeleton/help/en_US/c_sum.xml \
29 toolbox_skeleton/help/en_US/fortran_sum.xml \
30 toolbox_skeleton/help/en_US/scilab_sum.xml \
31 toolbox_skeleton/help/fr_FR/build_help.sce \
32 toolbox_skeleton/help/fr_FR/c_multiplybypi.xml \
33 toolbox_skeleton/help/fr_FR/c_sub.xml \
34 toolbox_skeleton/help/fr_FR/c_sum.xml \
35 toolbox_skeleton/help/fr_FR/fortran_sum.xml \
36 toolbox_skeleton/help/fr_FR/scilab_sum.xml \
37 toolbox_skeleton/license.txt \
38 toolbox_skeleton/locales/en_US.po \
39 toolbox_skeleton/locales/fr_FR.po \
40 toolbox_skeleton/macros/buildmacros.sce \
41 toolbox_skeleton/macros/cleanmacros.sce \
42 toolbox_skeleton/macros/scilab_error.sci \
43 toolbox_skeleton/macros/scilab_sum.sci \
44 toolbox_skeleton/readme.txt \
45 toolbox_skeleton/sci_gateway/builder_gateway.sce \
46 toolbox_skeleton/sci_gateway/c/builder_gateway_c.sce \
47 toolbox_skeleton/sci_gateway/c/sci_cerror.c \
48 toolbox_skeleton/sci_gateway/c/sci_cerror6.c \
49 toolbox_skeleton/sci_gateway/c/sci_csub.c \
50 toolbox_skeleton/sci_gateway/c/sci_csub6.c \
51 toolbox_skeleton/sci_gateway/c/sci_csum.c \
52 toolbox_skeleton/sci_gateway/c/sci_csum6.c \
53 toolbox_skeleton/sci_gateway/c/sci_foo.c \
54 toolbox_skeleton/sci_gateway/c/sci_foo6.c \
55 toolbox_skeleton/sci_gateway/c/sci_multiplybypi.c \
56 toolbox_skeleton/sci_gateway/c/sci_multiplybypi6.c \
57 toolbox_skeleton/sci_gateway/cpp/builder_gateway_cpp.sce \
58 toolbox_skeleton/sci_gateway/cpp/sci_cpp_find.cxx \
59 toolbox_skeleton/sci_gateway/cpp/sci_cpperror.cpp \
60 toolbox_skeleton/sci_gateway/cpp/sci_cppfoo.cpp \
61 toolbox_skeleton/sci_gateway/cpp/sci_cppmultiplybypi.cpp \
62 toolbox_skeleton/sci_gateway/cpp/sci_cppsub.cpp \
63 toolbox_skeleton/sci_gateway/cpp/sci_cppsum.cpp \
64 toolbox_skeleton/sci_gateway/fortran/builder_gateway_fortran.sce \
65 toolbox_skeleton/sci_gateway/fortran/sci_fsum.c \
66 toolbox_skeleton/src/builder_src.sce \
67 toolbox_skeleton/src/c/builder_c.sce \
68 toolbox_skeleton/src/c/csub.c \
69 toolbox_skeleton/src/c/csub.h \
70 toolbox_skeleton/src/c/csum.c \
71 toolbox_skeleton/src/c/csum.h \
72 toolbox_skeleton/src/c/multiplybypi.c \
73 toolbox_skeleton/src/c/multiplybypi.h \
74 toolbox_skeleton/src/fortran/builder_fortran.sce \
75 toolbox_skeleton/src/fortran/fsum.f \
76 toolbox_skeleton/src/java/builder_java.sce \
77 toolbox_skeleton/src/java/org/scilab/contrib/toolboxskeleton/Sum.java \
78 toolbox_skeleton/tests/unit_tests/c_sum.dia.ref \
79 toolbox_skeleton/tests/unit_tests/c_sum.tst \
80 toolbox_skeleton/tests/unit_tests/fortran_sum.dia.ref \
81 toolbox_skeleton/tests/unit_tests/fortran_sum.tst \
82 toolbox_skeleton/tests/unit_tests/java_sum.dia.ref \
83 toolbox_skeleton/tests/unit_tests/java_sum.tst \
84 toolbox_skeleton/tests/unit_tests/scilab_sum.dia.ref \
85 toolbox_skeleton/tests/unit_tests/scilab_sum.tst \
86 toolbox_skeleton/toolbox_skeleton_redist.iss \
87 xcos_toolbox_skeleton/.gitignore \
88 xcos_toolbox_skeleton/DESCRIPTION \
89 xcos_toolbox_skeleton/builder.sce \
90 xcos_toolbox_skeleton/changelog.txt \
91 xcos_toolbox_skeleton/demos/Blocks.zcos \
92 xcos_toolbox_skeleton/demos/allSum.dem.sce \
93 xcos_toolbox_skeleton/demos/xcos_toolbox_skeleton.dem.gateway.sce \
94 xcos_toolbox_skeleton/etc/xcos_toolbox_skeleton.quit \
95 xcos_toolbox_skeleton/etc/xcos_toolbox_skeleton.start \
96 xcos_toolbox_skeleton/examples/AllSum.zcos \
97 xcos_toolbox_skeleton/help/builder_help.sce \
98 xcos_toolbox_skeleton/help/cleaner_help.sce \
99 xcos_toolbox_skeleton/help/en_US/TBX_SUM_c.xml \
100 xcos_toolbox_skeleton/help/en_US/available_blocks.xml \
101 xcos_toolbox_skeleton/help/en_US/build_help.sce \
102 xcos_toolbox_skeleton/help/en_US/tbx_sum.xml \
103 xcos_toolbox_skeleton/help/fr_FR/build_help.sce \
104 xcos_toolbox_skeleton/images/gif/TBX_MUT_STYLE.gif \
105 xcos_toolbox_skeleton/images/gif/TBX_NOOP.gif \
106 xcos_toolbox_skeleton/images/gif/TBX_SUM_c.gif \
107 xcos_toolbox_skeleton/images/gif/TBX_SUM_modelica.gif \
108 xcos_toolbox_skeleton/images/gif/TBX_SUM_sci.gif \
109 xcos_toolbox_skeleton/images/svg/TBX_MUT_STYLE.svg \
110 xcos_toolbox_skeleton/images/svg/TBX_NOOP.svg \
111 xcos_toolbox_skeleton/images/svg/TBX_SUM_c.svg \
112 xcos_toolbox_skeleton/images/svg/TBX_SUM_modelica.svg \
113 xcos_toolbox_skeleton/images/svg/TBX_SUM_sci.svg \
114 xcos_toolbox_skeleton/license.txt \
115 xcos_toolbox_skeleton/macros/TBX_MUT_STYLE.sci \
116 xcos_toolbox_skeleton/macros/TBX_NOOP.sci \
117 xcos_toolbox_skeleton/macros/TBX_NOOP_sci.sci \
118 xcos_toolbox_skeleton/macros/TBX_NOOP_sim.sci \
119 xcos_toolbox_skeleton/macros/TBX_SUM_c.sci \
120 xcos_toolbox_skeleton/macros/TBX_SUM_modelica.sci \
121 xcos_toolbox_skeleton/macros/TBX_SUM_sci.sci \
122 xcos_toolbox_skeleton/macros/TBX_SUM_sim.sci \
123 xcos_toolbox_skeleton/macros/XcosToolboxSkeleton.mo \
124 xcos_toolbox_skeleton/macros/buildmacros.sce \
125 xcos_toolbox_skeleton/macros/cleanmacros.sce \
126 xcos_toolbox_skeleton/readme.txt \
127 xcos_toolbox_skeleton/sci_gateway/builder_gateway.sce \
128 xcos_toolbox_skeleton/sci_gateway/c/builder_gateway_c.sce \
129 xcos_toolbox_skeleton/sci_gateway/c/sci_tbx_sum.c \
130 xcos_toolbox_skeleton/sci_gateway/loader_gateway.sce \
131 xcos_toolbox_skeleton/src/builder_src.sce \
132 xcos_toolbox_skeleton/src/c/block_sum.c \
133 xcos_toolbox_skeleton/src/c/builder_c.sce \
134 xcos_toolbox_skeleton/src/c/business.h \
135 xcos_toolbox_skeleton/src/c/business_sum.c \
136 xcos_toolbox_skeleton/src/c/tbx_block_noop.c \
137 xcos_toolbox_skeleton/src/cleaner_src.sce \
138 xcos_toolbox_skeleton/tests/benchmark/noop_matrices.zcos \
139 xcos_toolbox_skeleton/tests/benchmark/noop_matrices_c.tst \
140 xcos_toolbox_skeleton/tests/benchmark/noop_matrices_scilab.tst \
141 xcos_toolbox_skeleton/tests/benchmark/noop_scalar.zcos \
142 xcos_toolbox_skeleton/tests/benchmark/noop_scalar_c.tst \
143 xcos_toolbox_skeleton/tests/benchmark/noop_scalar_scilab.tst \
144 xcos_toolbox_skeleton/tests/unit_tests/tbx_sum.dia.ref \
145 xcos_toolbox_skeleton/tests/unit_tests/tbx_sum.tst
146
147 install-data-local:
148         $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/; \
149         $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/toolbox_skeleton; \
150         $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/xcos_toolbox_skeleton; \
151         for file in $(SKELETON_FILES) ; do \
152             filePath=`dirname $(DESTDIR)$(pkgdatadir)/contrib/$$file`; \
153             echo "$(mkinstalldirs) -m 755 $$filePath/"; \
154             $(mkinstalldirs) -m 755 $$filePath/; \
155             echo "$(INSTALL_DATA) $$file $$filePath" ; \
156             $(INSTALL_DATA) "$$file" $$filePath; \
157         done
158
159 mostlyclean-local:
160         rm -rf archives \
161         toolbox_skeleton/cleaner.sce \
162         toolbox_skeleton/help/*/master_help.xml \
163         toolbox_skeleton/help/*/scilab_*_help \
164         toolbox_skeleton/jar \
165         toolbox_skeleton/loader.sce \
166         toolbox_skeleton/macros/lib \
167         toolbox_skeleton/macros/names \
168         toolbox_skeleton/sci_gateway/cpp/cleaner.sce \
169         toolbox_skeleton/sci_gateway/cpp/libskeleton_cpp.c \
170         toolbox_skeleton/sci_gateway/cpp/libskeleton_cpp.* \
171         toolbox_skeleton/sci_gateway/cpp/loader.sce \
172         toolbox_skeleton/sci_gateway/c/cleaner.sce \
173         toolbox_skeleton/sci_gateway/cleaner_gateway.sce \
174         toolbox_skeleton/sci_gateway/c/libskeleton_c.c \
175         toolbox_skeleton/sci_gateway/c/libskeleton_c.* \
176         toolbox_skeleton/sci_gateway/c/loader.sce \
177         toolbox_skeleton/sci_gateway/fortran/cleaner.sce \
178         toolbox_skeleton/sci_gateway/fortran/libskeleton_fortran.c \
179         toolbox_skeleton/sci_gateway/fortran/libskeleton_fortran.* \
180         toolbox_skeleton/sci_gateway/fortran/loader.sce \
181         toolbox_skeleton/sci_gateway/loader_gateway.sce \
182         toolbox_skeleton/src/c/cleaner.sce \
183         toolbox_skeleton/src/c/libcsum.* \
184         toolbox_skeleton/src/c/loader.sce \
185         toolbox_skeleton/src/fortran/cleaner.sce \
186         toolbox_skeleton/src/fortran/libfsum.* \
187         toolbox_skeleton/src/fortran/loader.sce \
188         toolbox_skeleton/unloader.sce \
189         xcos_toolbox_skeleton/cleaner.sce \
190         xcos_toolbox_skeleton/help/*/master_help.xml \
191         xcos_toolbox_skeleton/help/*/scilab_*_help \
192         xcos_toolbox_skeleton/jar \
193         xcos_toolbox_skeleton/loader.sce \
194         xcos_toolbox_skeleton/macros/lib \
195         xcos_toolbox_skeleton/macros/names \
196         xcos_toolbox_skeleton/sci_gateway/cleaner.sce \
197         xcos_toolbox_skeleton/sci_gateway/cleaner_gateway.sce \
198         xcos_toolbox_skeleton/sci_gateway/c/lib \
199         xcos_toolbox_skeleton/sci_gateway/c/libskeleton_c.c \
200         xcos_toolbox_skeleton/sci_gateway/c/loader.sce \
201         xcos_toolbox_skeleton/sci_gateway/c/cleaner.sce \
202         xcos_toolbox_skeleton/sci_gateway/c/libxcos_toolbox_skeleton_c.c \
203         xcos_toolbox_skeleton/sci_gateway/c/libxcos_toolbox_skeleton_c.* \
204         xcos_toolbox_skeleton/src/c/cleaner.sce \
205         xcos_toolbox_skeleton/src/c/libxcos_tbx_skel.* \
206         xcos_toolbox_skeleton/src/c/loader.sce \
207         xcos_toolbox_skeleton/unloader.sce