~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to config/Makedll.incl

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#--- see examples/addinter-tutorial-so ----------
2
 
 
3
 
DUMPEXTS=$(SCIDIR1)\bin\dumpexts
4
 
SCIIMPLIB=$(SCIDIR)/bin/LibScilab.lib
5
 
 
6
 
!include $(SCIDIR1)\Makefile.incl.mak
7
 
 
8
 
FFLAGS = $(FC_OPTIONS) -DFORDLL -I$(SCIDIR1)\routines
9
 
CFLAGS = $(CC_OPTIONS) -DFORDLL -I$(SCIDIR)/routines
10
 
 
11
 
all :: $(LIBRARY).dll
12
 
 
13
 
$(LIBRARY).dll: $(OBJS)
14
 
        @echo Creation of dll $(LIBRARY).dll and import lib from ...
15
 
        @echo $(OBJS)
16
 
        @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
17
 
        @$(LINKER) $(LINKER_FLAGS) $(OBJS) $(SCIIMPLIB) $(XLIBSBIN) $(TERMCAPLIB) /nologo /dll /out:"$*.dll" /implib:"$*.ilib" /def:"$*.def" 
18
 
 
19
 
clean   ::
20
 
        @del *.obj
21
 
        @del $(LIBRARY)_gateway.c
22
 
        @del $(LIBRARY).def
23
 
        @del $(LIBRARY).dll
24
 
        @del $(LIBRARY).exp
25
 
        @del $(LIBRARY).ilib
26
 
 
27
 
distclean::     clean
28
 
 
29
 
tests   : 
30
 
        @echo run $(LIBRARY).tst under scilab to test examples
31
 
 
 
1
#--- see examples/addinter-tutorial-so ----------
 
2
 
 
3
DUMPEXTS="$(SCIDIR1)\bin\dumpexts"
 
4
SCIIMPLIB="$(SCIDIR)/bin/LibScilab.lib"
 
5
 
 
6
all :: $(LIBRARY).dll
 
7
 
 
8
$(LIBRARY).dll: $(OBJS)
 
9
        @echo Creation of dll $(LIBRARY).dll and import lib from ...
 
10
        @echo $(OBJS)
 
11
        @$(DUMPEXTS) -o "$*.def" "$*.dll" $**
 
12
        @$(LINKER) $(LINKER_FLAGS) $(OBJS) $(OTHERLIBS) $(SCIIMPLIB) $(XLIBSBIN) $(TERMCAPLIB) $(EXTRA_LDFLAGS) /nologo /dll /out:"$*.dll" /implib:"$*.ilib" /def:"$*.def" 
 
13
 
 
14
clean   ::
 
15
        -del *.obj
 
16
        -del $(LIBRARY)_gateway.c
 
17
        -del $(LIBRARY).def
 
18
        -del $(LIBRARY).dll
 
19
        -del $(LIBRARY).exp
 
20
        -del $(LIBRARY).ilib
 
21
 
 
22
distclean::     clean
 
23
 
 
24
tests   : $(LIBRARY).dll $(LIBRARY).tst
 
25
        @"$(SCIDIR1)\bin\scilex.exe" -nwni  -e scitest('$(LIBRARY).tst',%t);quit;
 
26
 
 
27
#       @"$(SCIDIR1)\bin\scilex.exe" -f $(LIBRARY).tst 
 
28