scilab: Example makefile, try again

This commit is contained in:
Simon Marchetto 2014-06-26 16:00:26 +02:00
commit ffd729632d

View file

@ -1712,13 +1712,13 @@ SCILAB_OPT = @SCILABOPT@
scilab: $(SRCDIR_SRCS)
@if test ! -z "$(SRCS)"; then \
if test ! -z "$(INCLUDES)"; then \
if test ! -z "$(SRCDIR); then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -addsources "$(SRCDIR_SRCS)" -addcflags "-I$(abspath $(INCLUDES))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -addsources "$(SRCDIR_SRCS)" -addcflags "-I$(abspath $(INCLUDES))" $(SWIGOPT) $(INTERFACEPATH); \
fi \
else \
if test ! -z "$(SRCDIR); then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -addsources "$(SRCDIR_SRCS)" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -addsources "$(SRCDIR_SRCS)" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
@ -1726,13 +1726,13 @@ scilab: $(SRCDIR_SRCS)
fi \
else \
if test ! -z "$(INCLUDES)"; then \
if test ! -z "$(SRCDIR); then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -addcflags "-I$(abspath $(INCLUDES))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -addcflags "-I$(abspath $(INCLUDES))" $(SWIGOPT) $(INTERFACEPATH); \
fi \
else \
if test ! -z "$(SRCDIR); then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab $(SWIGOPT) $(INTERFACEPATH); \
@ -1748,13 +1748,13 @@ scilab: $(SRCDIR_SRCS)
scilab_cpp: $(SRCDIR_SRCS)
@if test ! -z "$(SRCS)"; then \
if test ! -z "$(INCLUDES)"; then \
if test ! -z "$(SRCDIR); then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -c++ -addsources "$(SRCDIR_SRCS)" -addcflags "-I$(abspath $(INCLUDES))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -c++ -addsources "$(SRCDIR_SRCS)" -addcflags "-I$(abspath $(INCLUDES))" $(SWIGOPT) $(INTERFACEPATH); \
fi \
else \
if test ! -z "$(SRCDIR); then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -c++ -addsources "$(SRCDIR_SRCS)" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -c++ -addsources "$(SRCDIR_SRCS)" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
@ -1762,13 +1762,13 @@ scilab_cpp: $(SRCDIR_SRCS)
fi \
else \
if test ! -z "$(INCLUDES)"; then \
if test ! -z "$(SRCDIR); then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -c++ -addcflags "-I$(abspath $(INCLUDES))" -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -c++ -addcflags "-I$(abspath $(INCLUDES))" $(SWIGOPT) $(INTERFACEPATH); \
fi \
else \
if test ! -z "$(SRCDIR); then \
if test ! -z "$(SRCDIR)"; then \
$(SWIG) -scilab -c++ -addcflags "-I$(abspath $(SRCDIR))" $(SWIGOPT) $(INTERFACEPATH); \
else \
$(SWIG) -scilab -c++ $(SWIGOPT) $(INTERFACEPATH); \