summaryrefslogtreecommitdiffstats
path: root/scilab/modules/mexlib
diff options
context:
space:
mode:
authorVincent COUVERT <vincent.couvert@scilab.org>2009-11-30 16:58:57 +0100
committerVincent COUVERT <vincent.couvert@scilab.org>2009-11-30 16:58:57 +0100
commite20f298a68ab801f21ad9052451df34200e46e92 (patch)
tree96f6471e189d5bb8290977aa3f474d86a870652e /scilab/modules/mexlib
parent3d091fe26c3e0844865fa70e7352141fa71d06f5 (diff)
parent18f005c0ab7ea2a798557e0d2cd68e2c724cccab (diff)
downloadscilab-e20f298a68ab801f21ad9052451df34200e46e92.zip
scilab-e20f298a68ab801f21ad9052451df34200e46e92.tar.gz
Merge commit 'origin/5.2'
Diffstat (limited to 'scilab/modules/mexlib')
-rw-r--r--scilab/modules/mexlib/examples/cppmex/Makefile33
-rw-r--r--scilab/modules/mexlib/examples/cppmex/Makefile.mak51
-rw-r--r--scilab/modules/mexlib/examples/interface/Makefile36
-rw-r--r--scilab/modules/mexlib/examples/interface/Makefile.mak51
-rw-r--r--scilab/modules/mexlib/examples/interface/lib/Makefile32
-rw-r--r--scilab/modules/mexlib/examples/interface/lib/Makefile.mak31
-rw-r--r--scilab/modules/mexlib/examples/mexglx/Makefile34
7 files changed, 0 insertions, 268 deletions
diff --git a/scilab/modules/mexlib/examples/cppmex/Makefile b/scilab/modules/mexlib/examples/cppmex/Makefile
deleted file mode 100644
index 990a3b8..0000000
--- a/scilab/modules/mexlib/examples/cppmex/Makefile
+++ /dev/null
@@ -1,33 +0,0 @@
1SCIDIR=../../../
2
3include $(SCIDIR)/Makefile.incl
4
5
6all :: Makelib
7 make -f Makelib
8
9Makelib : builder.sce
10 @echo running builder: BE PATIENT ...
11 @$(SCIDIR)/util/scidem $(SCIDIR) builder.sce builder.dia
12
13job :
14 make -f Makelib
15
16tests : all
17 make -f Makelib tests
18
19clean ::
20 @echo Cleaning
21 @$(RM) -f -r *.o *.lo *.la *.so *.dll *.sl *.a *.dia so_locations
22 @$(RM) -f -r .libs
23
24distclean:: clean
25 @$(RM) -f *.dia *_gateway.c
26 @$(RM) -f Makelib
27
28message:
29 @echo "------------------------------------------";
30 @echo "At Scilab prompt, enter:";
31 @echo "-->exec loader.sce";
32 @echo "------------------------------------------";
33
diff --git a/scilab/modules/mexlib/examples/cppmex/Makefile.mak b/scilab/modules/mexlib/examples/cppmex/Makefile.mak
deleted file mode 100644
index 5a51486..0000000
--- a/scilab/modules/mexlib/examples/cppmex/Makefile.mak
+++ /dev/null
@@ -1,51 +0,0 @@
1SCIDIR=../../../..
2SCIDIR1=..\..\..\..
3
4MAKE=nmake /nologo
5
6all : Makelib.mak message
7
8Makelib.mak : builder.sce
9 @echo running builder BE PATIENT
10 type builder.sce > job.sce
11 echo quit >> job.sce
12 "$(SCIDIR1)\bin\scilex.exe" -nwni -f job.sce
13 del job.sce
14
15clean :
16 del Makelib.mak
17 del libmex.dia
18 del libmex.dll
19 del libmex.lib
20 del *.obj
21 del libmex.exp
22 del libmex.def
23 del libmex.c
24 del loader.sce
25
26
27distclean::
28 del Makelib.mak
29 del libmex.dia
30 del libmex.dll
31 del libmex.lib
32 del libmex.obj
33 del libmex.exp
34 del libmex.def
35 del libmex.c
36 del loader.sce
37
38
39tests :
40 @"$(SCIDIR1)\bin\scilex.exe" -nwni -nb -e exec('builder.sce',-1);quit; >NUL
41 @"$(SCIDIR1)\bin\scilex.exe" -nwni -nb -e scitest('libmex.tst',%t);quit;
42
43message:
44 @echo ------------------------------------------;
45 @echo At Scilab prompt, enter
46 @echo "-->exec libmex.tst" to test
47 @echo ------------------------------------------;
48 @echo Type nmake /nologo /f Makefile.mak tests
49 @echo to run all tests
50 @echo ------------------------------------------;
51
diff --git a/scilab/modules/mexlib/examples/interface/Makefile b/scilab/modules/mexlib/examples/interface/Makefile
deleted file mode 100644
index 0a0ded1..0000000
--- a/scilab/modules/mexlib/examples/interface/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
1
2include Path.incl
3
4include $(SCIDIR)/Makefile.incl
5
6all :: Makelib
7 cd lib ; make all
8 make -f Makelib
9
10Makelib : builder.sce
11 @echo running builder
12 @$(SCIDIR)/util/scidem $(SCIDIR) builder.sce builder.dia
13
14job :
15 make -f Makelib
16
17tests : all
18 make -f Makelib tests
19
20clean ::
21 @echo Cleaning
22 @$(RM) -f -r *.o *.lo *.la *.so *.dll *.sl *.a *.dia .job.sce so_locations
23 @$(RM) -f -r .libs libmex.c
24 @cd lib ; make clean
25
26distclean:: clean
27 @$(RM) -f *.dia *_gateway.c
28 @$(RM) -f Makelib
29 @cd lib ; make distclean
30
31message:
32 @echo "------------------------------------------";
33 @echo "At Scilab prompt, enter:";
34 @echo "-->exec loader.sce";
35 @echo "------------------------------------------";
36
diff --git a/scilab/modules/mexlib/examples/interface/Makefile.mak b/scilab/modules/mexlib/examples/interface/Makefile.mak
deleted file mode 100644
index 230d397..0000000
--- a/scilab/modules/mexlib/examples/interface/Makefile.mak
+++ /dev/null
@@ -1,51 +0,0 @@
1SCIDIR=../../../..
2SCIDIR1=..\..\..\..
3
4MAKE=nmake /nologo
5
6all : Makelib.mak message
7
8
9Makelib.mak : builder.sce
10 @echo running builder BE PATIENT
11 type builder.sce > job.sce
12 echo quit >> job.sce
13 "$(SCIDIR1)\bin\scilex.exe" -nwni -f job.sce
14 del job.sce
15
16clean :
17 del *.dia
18 del *.lib
19 del *.exp
20 del *.def
21 del *.dll
22 del *.obj
23 del libmex.c
24 del makelib.mak
25 del loader.sce
26 del path.incl
27
28distclean::
29 del *.dia
30 del *.lib
31 del *.exp
32 del *.def
33 del *.dll
34 del *.obj
35 del libmex.c
36 del makelib.mak
37 del loader.sce
38 del path.incl
39
40tests :
41 @"$(SCIDIR1)\bin\scilex.exe" -nwni -nb -e exec('builder.sce',-1);quit; >NUL
42 @"$(SCIDIR1)\bin\scilex.exe" -nwni -nb -e scitest('libmex.tst',%t);quit;
43
44message:
45 @echo ------------------------------------------;
46 @echo At Scilab prompt, enter
47 @echo "-->exec libmex.tst
48 @echo to run a test
49 @echo ------------------------------------------;
50
51
diff --git a/scilab/modules/mexlib/examples/interface/lib/Makefile b/scilab/modules/mexlib/examples/interface/lib/Makefile
deleted file mode 100644
index 66a06c2..0000000
--- a/scilab/modules/mexlib/examples/interface/lib/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
1SCIDIR=../../../
2
3include $(SCIDIR)/Makefile.incl
4
5all :: Makelib
6 make -f Makelib
7
8Makelib : builder.sce
9 @echo running builder
10 @$(SCIDIR)/util/scidem $(SCIDIR) builder.sce builder.dia
11
12job :
13 make -f Makelib
14
15tests : all
16 make -f Makelib tests
17
18clean ::
19 @echo Cleaning
20 @$(RM) -f -r *.o *.obj *.dll *.lo *.la *.so *.sl *.a *.dia .job.sce so_locations
21 @$(RM) -f -r .libs
22
23distclean:: clean
24 @$(RM) -f *.dia *_gateway.c
25 @$(RM) -f Makelib
26
27message:
28 @echo "------------------------------------------";
29 @echo "At Scilab prompt, enter:";
30 @echo "-->exec loader.sce";
31 @echo "------------------------------------------";
32
diff --git a/scilab/modules/mexlib/examples/interface/lib/Makefile.mak b/scilab/modules/mexlib/examples/interface/lib/Makefile.mak
deleted file mode 100644
index e5bbcfb..0000000
--- a/scilab/modules/mexlib/examples/interface/lib/Makefile.mak
+++ /dev/null
@@ -1,31 +0,0 @@
1SCIDIR=../../../../..
2SCIDIR1=..\..\..\..\..
3
4MAKE=nmake /nologo
5
6all : Makelib.mak
7
8Makelib.mak : builder.sce
9 @echo running builder BE PATIENT
10 cat builder.sce > job.sce
11 echo quit >> job.sce
12 "$(SCIDIR1)\bin\scilex.exe" -nwni -f job.sce
13 del job.sce
14
15clean :
16 $(MAKE) -f Makelib.mak clean
17 del Makelib.mak
18
19distclean::
20 del foo.obj
21 del bar.obj
22 del libutil.*
23
24distclean::
25 $(MAKE) -f Makelib.mak distclean
26 del Makelib.mak
27
28
29
30
31
diff --git a/scilab/modules/mexlib/examples/mexglx/Makefile b/scilab/modules/mexlib/examples/mexglx/Makefile
deleted file mode 100644
index 841753d..0000000
--- a/scilab/modules/mexlib/examples/mexglx/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
1SCIDIR=../../../
2
3include $(SCIDIR)/Makefile.incl
4
5
6all ::
7 @echo "See the README file"
8
9Makelib : builder.sce
10 @echo running builder: BE PATIENT ...
11 @$(SCIDIR)/util/scidem $(SCIDIR) builder.sce builder.dia
12
13job :
14 make -f Makelib
15
16tests :
17 @$(SCIDIR)/util/scidem $(SCIDIR) test.sce test.dia
18
19clean ::
20 @echo Cleaning
21 @$(RM) -f -r *.o *.lo *.la *.so *.dll *.sl *.a *.dia so_locations
22 @$(RM) -f -r .libs foo.mexglx Makelib
23
24distclean:: clean
25 @$(RM) -f *.dia *_gateway.c
26 @$(RM) -f Makelib
27
28message:
29 @echo "------------------------------------------";
30 @echo "At Scilab prompt, enter:";
31 @echo "-->exec loader.sce";
32 @echo "------------------------------------------";
33
34