LIBS=@LIBS@
+LIBSFORBIN=@LIBS@
LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker $(top_builddir)/lib/salome
+LDFLAGSFORBIN=@LDFLAGS@ -L$(top_builddir)/lib/salome
# add libstdc++ to link c++ library with libtool !
LDFLAGS+= -lstdc++
+LDFLAGSFORBIN+= -lstdc++
CP=@CP@
# add corba libs when link salome application !
#LDFLAGS+= $(CORBA_LIBS)
LIBS+=$(CORBA_LIBS)
+LIBSFORBIN+=$(CORBA_LIBS)
DOXYGEN = @DOXYGEN@
$(QT_MT_LIBS) -L${KERNEL_ROOT_DIR}/lib/salome
#LIBS += -Xlinker -export-dynamic $(PYTHON_LIBS)
-LDFLAGSFORBIN= -L$(top_builddir)/lib/salome
-LIBSFORBIN=$(LIBS)
+LDFLAGSFORBIN += $(LDFLAGS) -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeResourcesManager -lSALOMEBasics
+#LIBSFORBIN += $(LIBS)
@CONCLUDE@