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