Merge remote-tracking branch 'origin/master' into MPI
[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 #
4 # This file is distributed under the same license as the Scilab package.
5
6 # Install the contrib_skeleton directory (the template)
7
8 SKELETON_FILES=toolbox_skeleton/src/fortran/builder_fortran.sce \
9 toolbox_skeleton/src/fortran/fsum.f \
10 toolbox_skeleton/src/c/csum.c \
11 toolbox_skeleton/src/c/builder_c.sce \
12 toolbox_skeleton/src/c/multiplybypi.c \
13 toolbox_skeleton/src/c/csub.c \
14 toolbox_skeleton/src/c/multiplybypi.h \
15 toolbox_skeleton/src/c/csub.h \
16 toolbox_skeleton/src/c/csum.h \
17 toolbox_skeleton/src/cleaner_src.sce \
18 toolbox_skeleton/src/builder_src.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/license.txt \
24 toolbox_skeleton/DESCRIPTION \
25 toolbox_skeleton/changelog.txt \
26 toolbox_skeleton/DESCRIPTION-FUNCTIONS \
27 toolbox_skeleton/help/builder_help.sce \
28 toolbox_skeleton/help/fr_FR/scilab_sum.xml \
29 toolbox_skeleton/help/fr_FR/c_sub.xml \
30 toolbox_skeleton/help/fr_FR/fortran_sum.xml \
31 toolbox_skeleton/help/fr_FR/c_sum.xml \
32 toolbox_skeleton/help/fr_FR/build_help.sce \
33 toolbox_skeleton/help/en_US/scilab_sum.xml \
34 toolbox_skeleton/help/en_US/c_sub.xml \
35 toolbox_skeleton/help/en_US/fortran_sum.xml \
36 toolbox_skeleton/help/en_US/c_sum.xml \
37 toolbox_skeleton/help/en_US/build_help.sce \
38 toolbox_skeleton/help/en_US/c_multiplybypi.xml \
39 toolbox_skeleton/demos/c_sum.dem.sce \
40 toolbox_skeleton/demos/toolbox_skeleton.dem.gateway.sce \
41 toolbox_skeleton/demos/cpp_find.dem.sce \
42 toolbox_skeleton/demos/scilab_sum.dem.sce \
43 toolbox_skeleton/demos/fortran_sum.dem.sce \
44 toolbox_skeleton/readme.txt \
45 toolbox_skeleton/tests/unit_tests/c_sum.tst \
46 toolbox_skeleton/tests/unit_tests/fortran_sum.tst \
47 toolbox_skeleton/tests/unit_tests/scilab_sum.dia.ref \
48 toolbox_skeleton/tests/unit_tests/fortran_sum.dia.ref \
49 toolbox_skeleton/tests/unit_tests/c_sum.dia.ref \
50 toolbox_skeleton/tests/unit_tests/scilab_sum.tst \
51 toolbox_skeleton/sci_gateway/fortran/builder_gateway_fortran.sce \
52 toolbox_skeleton/sci_gateway/fortran/sci_fsum.c \
53 toolbox_skeleton/sci_gateway/c/sci_csub.c \
54 toolbox_skeleton/sci_gateway/c/sci_multiplybypi.c \
55 toolbox_skeleton/sci_gateway/c/sci_foo.c \
56 toolbox_skeleton/sci_gateway/c/sci_csum.c \
57 toolbox_skeleton/sci_gateway/c/builder_gateway_c.sce \
58 toolbox_skeleton/sci_gateway/cpp/builder_gateway_cpp.sce \
59 toolbox_skeleton/sci_gateway/cpp/sci_cpp_find.cxx \
60 toolbox_skeleton/sci_gateway/builder_gateway.sce \
61 toolbox_skeleton/builder.sce \
62 toolbox_skeleton/macros/scilab_sum.sci \
63 toolbox_skeleton/macros/buildmacros.sce \
64 toolbox_skeleton/macros/cleanmacros.sce \
65 toolbox_skeleton/toolbox_skeleton_redist.iss \
66 toolbox_skeleton/toolbox_skeleton.iss \
67 xcos_toolbox_skeleton/builder.sce \
68 xcos_toolbox_skeleton/changelog.txt \
69 xcos_toolbox_skeleton/cleaner.sce \
70 xcos_toolbox_skeleton/demos/Blocks.zcos \
71 xcos_toolbox_skeleton/demos/xcos_toolbox_skeleton.dem.gateway.sce \
72 xcos_toolbox_skeleton/demos/allSum.dem.sce \
73 xcos_toolbox_skeleton/DESCRIPTION \
74 xcos_toolbox_skeleton/DESCRIPTION-FUNCTIONS \
75 xcos_toolbox_skeleton/etc/xcos_toolbox_skeleton.quit \
76 xcos_toolbox_skeleton/etc/xcos_toolbox_skeleton.start \
77 xcos_toolbox_skeleton/examples/AllSum.zcos \
78 xcos_toolbox_skeleton/help/builder_help.sce \
79 xcos_toolbox_skeleton/help/cleaner_help.sce \
80 xcos_toolbox_skeleton/help/en_US/available_blocks.xml \
81 xcos_toolbox_skeleton/help/en_US/build_help.sce \
82 xcos_toolbox_skeleton/help/en_US/TBX_SUM_c.xml \
83 xcos_toolbox_skeleton/help/en_US/tbx_sum.xml \
84 xcos_toolbox_skeleton/help/fr_FR/build_help.sce \
85 xcos_toolbox_skeleton/images/gif/TBX_MUT_STYLE.gif \
86 xcos_toolbox_skeleton/images/gif/TBX_SUM_c.gif \
87 xcos_toolbox_skeleton/images/gif/TBX_SUM_sci.gif \
88 xcos_toolbox_skeleton/images/svg/TBX_MUT_STYLE.svg \
89 xcos_toolbox_skeleton/images/svg/TBX_SUM_c.svg \
90 xcos_toolbox_skeleton/images/svg/TBX_SUM_sci.svg \
91 xcos_toolbox_skeleton/license.txt \
92 xcos_toolbox_skeleton/macros/buildmacros.sce \
93 xcos_toolbox_skeleton/macros/cleanmacros.sce \
94 xcos_toolbox_skeleton/macros/TBX_MUT_STYLE.sci \
95 xcos_toolbox_skeleton/macros/TBX_SUM_c.sci \
96 xcos_toolbox_skeleton/macros/TBX_SUM_sci.sci \
97 xcos_toolbox_skeleton/macros/TBX_SUM_sim.sci \
98 xcos_toolbox_skeleton/sci_gateway/builder_gateway.sce \
99 xcos_toolbox_skeleton/sci_gateway/c/builder_gateway_c.sce \
100 xcos_toolbox_skeleton/sci_gateway/c/sci_tbx_sum.c \
101 xcos_toolbox_skeleton/sci_gateway/loader_gateway.sce \
102 xcos_toolbox_skeleton/src/builder_src.sce \
103 xcos_toolbox_skeleton/src/c/block_sum.c \
104 xcos_toolbox_skeleton/src/c/builder_c.sce \
105 xcos_toolbox_skeleton/src/c/business.h \
106 xcos_toolbox_skeleton/src/c/business_sum.c \
107 xcos_toolbox_skeleton/src/cleaner_src.sce \
108 xcos_toolbox_skeleton/tests/unit_tests/tbx_sum.tst \
109 xcos_toolbox_skeleton/tests/unit_tests/tbx_sum.dia.ref \
110 loader.sce
111
112 install-data-local:
113         $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/; \
114         $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/toolbox_skeleton; \
115         $(mkinstalldirs) -m 755 $(DESTDIR)$(pkgdatadir)/contrib/xcos_toolbox_skeleton; \
116         for file in $(SKELETON_FILES) ; do \
117             filePath=`dirname $(DESTDIR)$(pkgdatadir)/contrib/$$file`; \
118             echo "$(mkinstalldirs) -m 755 $$filePath/"; \
119             $(mkinstalldirs) -m 755 $$filePath/; \
120             echo "$(INSTALL_DATA) $$file $$filePath" ; \
121             $(INSTALL_DATA) "$$file" $$filePath; \
122         done
123
124 mostlyclean-local:
125         rm -rf archives \
126         toolbox_skeleton/cleaner.sce \
127         toolbox_skeleton/help/*/master_help.xml \
128         toolbox_skeleton/help/*/scilab_*_help \
129         toolbox_skeleton/jar \
130         toolbox_skeleton/loader.sce \
131         toolbox_skeleton/macros/lib \
132         toolbox_skeleton/macros/names \
133         toolbox_skeleton/sci_gateway/cpp/cleaner.sce \
134         toolbox_skeleton/sci_gateway/cpp/libskeleton_cpp.c \
135         toolbox_skeleton/sci_gateway/cpp/libskeleton_cpp.* \
136         toolbox_skeleton/sci_gateway/cpp/loader.sce \
137         toolbox_skeleton/sci_gateway/c/cleaner.sce \
138         toolbox_skeleton/sci_gateway/cleaner_gateway.sce \
139         toolbox_skeleton/sci_gateway/c/libskeleton_c.c \
140         toolbox_skeleton/sci_gateway/c/libskeleton_c.* \
141         toolbox_skeleton/sci_gateway/c/loader.sce \
142         toolbox_skeleton/sci_gateway/fortran/cleaner.sce \
143         toolbox_skeleton/sci_gateway/fortran/libskeleton_fortran.c \
144         toolbox_skeleton/sci_gateway/fortran/libskeleton_fortran.* \
145         toolbox_skeleton/sci_gateway/fortran/loader.sce \
146         toolbox_skeleton/sci_gateway/loader_gateway.sce \
147         toolbox_skeleton/src/c/cleaner.sce \
148         toolbox_skeleton/src/c/libcsum.* \
149         toolbox_skeleton/src/c/loader.sce \
150         toolbox_skeleton/src/fortran/cleaner.sce \
151         toolbox_skeleton/src/fortran/libfsum.* \
152         toolbox_skeleton/src/fortran/loader.sce \
153         toolbox_skeleton/unloader.sce \
154         xcos_toolbox_skeleton/cleaner.sce \
155         xcos_toolbox_skeleton/help/*/master_help.xml \
156         xcos_toolbox_skeleton/help/*/scilab_*_help \
157         xcos_toolbox_skeleton/jar \
158         xcos_toolbox_skeleton/loader.sce \
159         xcos_toolbox_skeleton/macros/lib \
160         xcos_toolbox_skeleton/macros/names \
161         xcos_toolbox_skeleton/sci_gateway/cleaner.sce \
162         xcos_toolbox_skeleton/sci_gateway/cleaner_gateway.sce \
163         xcos_toolbox_skeleton/sci_gateway/c/lib \
164         xcos_toolbox_skeleton/sci_gateway/c/libskeleton_c.c \
165         xcos_toolbox_skeleton/sci_gateway/c/loader.sce \
166         xcos_toolbox_skeleton/sci_gateway/c/cleaner.sce \
167         xcos_toolbox_skeleton/sci_gateway/c/libxcos_toolbox_skeleton_c.c \
168         xcos_toolbox_skeleton/sci_gateway/c/libxcos_toolbox_skeleton_c.* \
169         xcos_toolbox_skeleton/src/c/cleaner.sce \
170         xcos_toolbox_skeleton/src/c/libxcos_tbx_skel.* \
171         xcos_toolbox_skeleton/src/c/loader.sce \
172         xcos_toolbox_skeleton/unloader.sce