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