# The library will be installed in the common place.
#
-BUILT_SOURCES = swig_wrap.cpp
+BUILT_SOURCES = swig_wrap.cpp libBatch_Swig.py
SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir) -I$(srcdir)/../Batch
-SWIG_SOURCES = libBatch_Swig.i libBatch_Swig_exception.i libBatch_Swig_typemap.i
+SWIGSOURCES = libBatch_Swig.i libBatch_Swig_exception.i libBatch_Swig_typemap.i
salomepython_PYTHON = libBatch_Swig.py
salomepyexec_LTLIBRARIES = _libBatch_Swig.la
-_libBatch_Swig_la_SOURCES = $(BUILT_SOURCES) $(SWIG_SOURCES)
+_libBatch_Swig_la_SOURCES = swig_wrap.cpp
_libBatch_Swig_la_CPPFLAGS = @PYTHON_INCLUDES@ -I$(srcdir) -I$(srcdir)/../Batch
_libBatch_Swig_la_LDFLAGS = -module
_libBatch_Swig_la_LIBADD = ../Batch/libSalomeBatch.la @PYTHON_LIBS@
_libBatch_Swig_la_LIBADD += @OPENPBS_LIBDIR@ @OPENPBS_LIBS@
endif
-swig_wrap.cpp : $(SWIG_SOURCES)
- $(SWIG) $(SWIG_FLAGS) -o $@ $<
+swig_wrap.cpp libBatch_Swig.py : $(SWIGSOURCES)
+ $(SWIG) $(SWIG_FLAGS) -o swig_wrap.cpp $<
CLEANFILES = swig_wrap.cpp
+EXTRA_DIST = $(SWIGSOURCES)
#
# ===============================================================
# The library will be installed in the common place.
#
-BUILT_SOURCES = swig_wrap.cpp
+BUILT_SOURCES = swig_wrap.cpp libSALOME_Comm.py
SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir) -I$(srcdir)/../Communication
-SWIG_SOURCES = libSALOME_Comm.i
+SWIGSOURCES = libSALOME_Comm.i
salomepython_PYTHON = libSALOME_Comm.py
salomepyexec_LTLIBRARIES = _libSALOME_Comm.la
-_libSALOME_Comm_la_SOURCES = $(BUILT_SOURCES) $(SWIG_SOURCES)
+_libSALOME_Comm_la_SOURCES = swig_wrap.cpp
_libSALOME_Comm_la_CPPFLAGS =\
@PYTHON_INCLUDES@ \
-I$(srcdir) -I$(srcdir)/../Communication \
endif
-swig_wrap.cpp : $(SWIG_SOURCES)
- $(SWIG) $(SWIG_FLAGS) -o $@ $<
+swig_wrap.cpp libSALOME_Comm.py : $(SWIGSOURCES)
+ $(SWIG) $(SWIG_FLAGS) -o swig_wrap.cpp $<
CLEANFILES = swig_wrap.cpp
+EXTRA_DIST = $(SWIGSOURCES)
#
# ===============================================================
# The library will be installed in the same place.
#
-BUILT_SOURCES = swig_wrap.cpp
+BUILT_SOURCES = swig_wrap.cpp libSALOME_LifeCycleCORBA.py
SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir) -I$(srcdir)/../LifeCycleCORBA -I$(srcdir)/../Utils
-SWIG_SOURCES = libSALOME_LifeCycleCORBA.i
+SWIGSOURCES = libSALOME_LifeCycleCORBA.i
salomepython_PYTHON = libSALOME_LifeCycleCORBA.py
salomepyexec_LTLIBRARIES = _libSALOME_LifeCycleCORBA.la
-_libSALOME_LifeCycleCORBA_la_SOURCES = $(BUILT_SOURCES) $(SWIG_SOURCES)
+_libSALOME_LifeCycleCORBA_la_SOURCES = swig_wrap.cpp
_libSALOME_LifeCycleCORBA_la_CPPFLAGS =\
@PYTHON_INCLUDES@ \
-I$(srcdir) \
../LifeCycleCORBA/libSalomeLifeCycleCORBA.la \
@PYTHON_LIBS@
-swig_wrap.cpp : $(SWIG_SOURCES)
- $(SWIG) $(SWIG_FLAGS) -o $@ $<
+swig_wrap.cpp libSALOME_LifeCycleCORBA.py : $(SWIGSOURCES)
+ $(SWIG) $(SWIG_FLAGS) -o swig_wrap.cpp $<
CLEANFILES = swig_wrap.cpp
+EXTRA_DIST = $(SWIGSOURCES)
#
# ===============================================================
# (cf. http://www.geocities.com/foetsch/python/swig_linux.htm)
# see also LifeCycleCORBA_SWIG
#
-BUILT_SOURCES = swig_wrap.cpp
+BUILT_SOURCES = swig_wrap.cpp libNOTIFICATION.py
SWIG_FLAGS = @SWIG_FLAGS@ -I$(srcdir) -I$(srcdir)/../Notification
-SWIG_SOURCES = NOTIFICATION.i
+SWIGSOURCES = NOTIFICATION.i
salomepython_PYTHON = libNOTIFICATION.py
salomepyexec_LTLIBRARIES = _libNOTIFICATION.la
-_libNOTIFICATION_la_SOURCES = $(BUILT_SOURCES) $(SWIG_SOURCES) \
+_libNOTIFICATION_la_SOURCES = swig_wrap.cpp \
NOTIFICATION_Swig.cxx NOTIFICATION_Swig.hxx SALOME_NOTIFICATION_SWIG.hxx
_libNOTIFICATION_la_CPPFLAGS =\
@PYTHON_INCLUDES@ -DHAVE_CONFIG_H \
_libNOTIFICATION_la_LDFLAGS = -module
_libNOTIFICATION_la_LIBADD = ../Notification/libSalomeNotification.la
-swig_wrap.cpp : $(SWIG_SOURCES)
- $(SWIG) $(SWIG_FLAGS) -o $@ $<
+swig_wrap.cpp libNOTIFICATION.py : $(SWIGSOURCES)
+ $(SWIG) $(SWIG_FLAGS) -o swig_wrap.cpp $<
CLEANFILES = swig_wrap.cpp
+
+EXTRA_DIST = $(SWIGSOURCES)