scilab: test example contract another source

This commit is contained in:
Simon Marchetto 2014-07-01 15:53:10 +02:00
commit 7bb93417d6

View file

@ -1713,15 +1713,15 @@ scilab: $(SRCDIR_SRCS)
if test ! -z "$(SRCS)"; then \
if test ! -z "$(INCLUDES)"; then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -o $(ISRCS) -addsources "$(SRCDIR)/a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(INCLUDES))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
$(SWIG) -scilab -o $(ISRCS) -addsources "dummy,$(SRCDIR)a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(INCLUDES))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -o $(ISRCS) -addsources "$(SRCDIR)/a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(INCLUDES))" $(SWIGOPT) $(INTERFACEPATH); \
$(SWIG) -scilab -o $(ISRCS) -addsources "dummy,$(SRCDIR)a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(INCLUDES))" $(SWIGOPT) $(INTERFACEPATH); \
fi \
else \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -o $(ISRCS) -addsources "$(SRCDIR)/a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
$(SWIG) -scilab -o $(ISRCS) -addsources "dummy,$(SRCDIR)a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -o $(ISRCS) -addsources "$(SRCDIR)/a.c,$(abspath $(SRCDIR_SRCS))" $(SWIGOPT) $(INTERFACEPATH); \
$(SWIG) -scilab -o $(ISRCS) -addsources "dummy,$(SRCDIR)a.c,$(abspath $(SRCDIR_SRCS))" $(SWIGOPT) $(INTERFACEPATH); \
fi \
fi \
else \
@ -1749,15 +1749,15 @@ scilab_cpp: $(SRCDIR_SRCS)
if test ! -z "$(SRCS)"; then \
if test ! -z "$(INCLUDES)"; then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -c++ -o $(ICXXSRCS) -addsources "$(SRCDIR)/a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(INCLUDES))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
$(SWIG) -scilab -c++ -o $(ICXXSRCS) -addsources "dummy,$(SRCDIR)a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(INCLUDES))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -c++ -o $(ICXXSRCS) -addsources "$(SRCDIR)/a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(INCLUDES))" $(SWIGOPT) $(INTERFACEPATH); \
$(SWIG) -scilab -c++ -o $(ICXXSRCS) -addsources "dummy,$(SRCDIR)a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(INCLUDES))" $(SWIGOPT) $(INTERFACEPATH); \
fi \
else \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -c++ -o $(ICXXSRCS) -addsources "$(SRCDIR)/a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
$(SWIG) -scilab -c++ -o $(ICXXSRCS) -addsources "dummy,$(SRCDIR)a.c,$(abspath $(SRCDIR_SRCS))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -c++ -o $(ICXXSRCS) -addsources "$(SRCDIR)/a.c,$(abspath $(SRCDIR_SRCS))" $(SWIGOPT) $(INTERFACEPATH); \
$(SWIG) -scilab -c++ -o $(ICXXSRCS) -addsources "dummy,$(SRCDIR)a.c,$(abspath $(SRCDIR_SRCS))" $(SWIGOPT) $(INTERFACEPATH); \
fi \
fi \
else \