From a7cec2e5b01db0d2a95e11f77e895d3c619de092 Mon Sep 17 00:00:00 2001 From: prascle Date: Sun, 5 Feb 2006 13:51:59 +0000 Subject: [PATCH] PR: simplification in order to allow parallel make --- src/NOTIFICATION_SWIG/Makefile.am | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/src/NOTIFICATION_SWIG/Makefile.am b/src/NOTIFICATION_SWIG/Makefile.am index 3a83ebc34..42b234c4f 100644 --- a/src/NOTIFICATION_SWIG/Makefile.am +++ b/src/NOTIFICATION_SWIG/Makefile.am @@ -28,31 +28,12 @@ include $(top_srcdir)/salome_adm/unix/make_common_starter.am -# -# =============================================================== -# Libraries targets -# =============================================================== -# - -lib_LTLIBRARIES = libNOTIFICATIONcmodule.la -libNOTIFICATIONcmodule_la_SOURCES = NOTIFICATION_Swig.cxx -libNOTIFICATIONcmodule_la_CPPFLAGS =\ - @PYTHON_INCLUDES@ -DHAVE_CONFIG_H \ - -I$(srcdir)/../Basics \ - -I$(srcdir)/../SALOMELocalTrace \ - -I$(srcdir)/../Notification \ - @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ - -libNOTIFICATIONcmodule_la_LIBADD =\ - @PYTHON_LIBS@ \ - ../Notification/libSalomeNotification.la - - # # =============================================================== # Swig targets # =============================================================== # (cf. http://www.geocities.com/foetsch/python/swig_linux.htm) +# see also LifeCycleCORBA_SWIG # BUILT_SOURCES = swig_wrap.cpp @@ -63,15 +44,16 @@ pkgpython_PYTHON = libNOTIFICATION.py pkgpyexec_LTLIBRARIES = _libNOTIFICATION.la _libNOTIFICATION_la_SOURCES = $(BUILT_SOURCES) $(SWIG_SOURCES) _libNOTIFICATION_la_CPPFLAGS =\ - @PYTHON_INCLUDES@ \ - -I$(srcdir) -I$(srcdir)/../Notification \ + @PYTHON_INCLUDES@ -DHAVE_CONFIG_H \ + -I$(srcdir)/../Notification \ -I$(srcdir)/../Basics \ -I$(srcdir)/../SALOMELocalTrace \ @CORBA_CXXFLAGS@ @CORBA_INCLUDES@ _libNOTIFICATION_la_LDFLAGS = -module -_libNOTIFICATION_la_LIBADD = libNOTIFICATIONcmodule.la +_libNOTIFICATION_la_LIBADD = ../Notification/libSalomeNotification.la \ + @PYTHON_LIBS@ swig_wrap.cpp : $(SWIG_SOURCES) $(SWIG) $(SWIG_FLAGS) -o $@ $< -- 2.39.2