LIBS=@LIBS@
+LIBSFORBIN=@LIBS@
LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker -L$(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@
#include <CAF.h>
-#include <qt.h>
+#include <qnamespace.h>
#include <qstring.h>
#include <TCollection_ExtendedString.hxx>
CPPFLAGS+=$(QT_INCLUDES) $(OCC_INCLUDES) -I${QTDIR}/src/kernel -I$(QTDIR)/mkspecs/linux-g++
LDFLAGS+=$(QT_MT_LIBS) $(CAS_KERNEL) $(CAS_OCAF)
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lstd
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lsuit
+LIBS+= -lstd -lsuit
@CONCLUDE@
LDFLAGS+=$(QT_MT_LIBS)
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lsuit -lstd
+LIBS+= -lsuit -lstd
+LDFLAGSFORBIN= -lSUITApp
@CONCLUDE@
LDFLAGS+=$(QT_MT_LIBS) $(CAS_KERNEL)
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lsuit -L/usr/X11R6/lib -lGLU
+LIBS+= -lsuit -L/usr/X11R6/lib -lGLU
@CONCLUDE@
CPPFLAGS+=$(QT_MT_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
CXXFLAGS+=$(OCC_CXXFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
LDFLAGS+=$(QT_MT_LIBS) -L$(KERNEL_ROOT_DIR)/lib/salome -lSalomeNS -lOpUtil -lSALOMELocalTrace
+LDFLAGSFORBIN= $(LDFLAGS) -lSALOMETraceCollector
@CONCLUDE@
CPPFLAGS+=$(QT_INCLUDES)
LDFLAGS+=$(QT_MT_LIBS)
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lsuit
+LIBS+= -lsuit
@CONCLUDE@
QT_VERS = Qt_3_3_0
endif
+ifeq ($(QT_VERS),Qt_3_3_4)
+QT_VERS = Qt_3_3_0
+endif
+
# Sip flags
SIP_FLAGS = -t WS_X11 -t $(QT_VERS) -s ".cc" -c . -I $(PYQT_SIPS)
ifeq ($(QT_VERS),Qt_3_3_3)
QT_VERS = Qt_3_3_0
endif
+ifeq ($(QT_VERS),Qt_3_3_4)
+QT_VERS = Qt_3_3_0
+endif
# Sip flags
SIP_FLAGS = -t WS_X11 -t $(QT_VERS) -s ".cc" -c . -I $(PYQT_SIPS)
CPPFLAGS+=$(QT_INCLUDES) $(OCC_INCLUDES) $(BOOST_CPPFLAGS) -I$(KERNEL_ROOT_DIR)/include/salome
LDFLAGS+=$(QT_MT_LIBS) -L$(KERNEL_ROOT_DIR)/lib/salome
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lsuit -lSalomeObject -lSalomePrs -lOCCViewer -lOpUtil
+LIBS+= -lsuit -lSalomeObject -lSalomePrs -lOCCViewer -lOpUtil
@CONCLUDE@
CPPFLAGS+=$(QT_INCLUDES)
LDFLAGS+=$(QT_MT_LIBS)
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lsuit
+LIBS+= -lsuit
@CONCLUDE@
LDFLAGS+=$(QT_MT_LIBS)
LIBS+= -Xlinker -export-dynamic $(PYTHON_LIBS)
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lsuit -lqtx
+LIBS+= -lsuit -lqtx
+LIBSFORBIN+= -lsuit -lqtx
@CONCLUDE@
SALOME_GenericObj.idl
-CPPFLAGS+=$(QT_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome -I${GUI_ROOT_DIR}/include/salome
+CPPFLAGS+=$(QT_INCLUDES) $(OCC_INCLUDES) $(PYTHON_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
LDFLAGS+=$(QT_MT_LIBS) -L$(top_builddir)/lib
CPPFLAGS+=$(QT_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(BOOST_CPPFLAGS) -I$(KERNEL_ROOT_DIR)/include/salome
LDFLAGS+=$(QT_MT_LIBS) $(OCC_LIBS) $(VTK_LIBS) -L$(KERNEL_ROOT_DIR)/lib/salome
-LIBS+= -L${GUI_ROOT_DIR}/lib/salome -lsuit -lCAM -lSalomeObject -lSalomePrs -lVTKViewer -lOpUtil
+LIBS+= -lsuit -lCAM -lSalomeObject -lSalomePrs -lVTKViewer -lOpUtil
@CONCLUDE@
CPPFLAGS+=$(PYTHON_INCLUDES) $(QT_INCLUDES) $(QWT_INCLUDES) $(OCC_INCLUDES) $(VTK_INCLUDES) $(BOOST_CPPFLAGS) -I${KERNEL_ROOT_DIR}/include/salome
LDFLAGS+=$(PYTHON_LIBS) $(QT_MT_LIBS)
-LIBS+= -L$(GUI_ROOT_DIR)/lib/salome -lsuit -lstd -lCAM -lObjBrowser -L$(KERNEL_ROOT_DIR)/lib/salome -lOpUtil -lSALOMELocalTrace $(CAS_KERNEL) -lPlot2d -lGLViewer -lOCCViewer -lVTKViewer -lSalomeObject -lSVTK -lSOCC -lSPlot2d -lPyInterp -lPythonConsole -lLogWindow -lSalomeContainer
+LIBS+= -lsuit -lstd -lCAM -lObjBrowser -L$(KERNEL_ROOT_DIR)/lib/salome -lOpUtil -lSALOMELocalTrace $(CAS_KERNEL) -lPlot2d -lGLViewer -lOCCViewer -lVTKViewer -lSalomeObject -lSVTK -lSOCC -lPyInterp -lPythonConsole -lLogWindow -lSalomeContainer
@CONCLUDE@
<parameter name="xterm" value="no"/>
<parameter name="portkill" value="no"/>
<parameter name="killall" value="no"/>
- <parameter name="modules" value="GEOM,SMESH,SUPERV,MED"/>
<parameter name="modules" value="GEOM,SMESH,SUPERV,MED,VISU"/>
<parameter name="pyModules" value=""/>
<parameter name="embedded" value="SalomeAppEngine"/>
CXXFLAGS += $(OCC_CXXFLAGS) $(BOOST_CPPFLAGS)
LDFLAGS += $(QT_MT_LIBS) -L$(KERNEL_ROOT_DIR)/lib/salome -lSalomeNS -lsuit -lSalomeLifeCycleCORBA -lOpUtil -lSALOMELocalTrace -lSALOMETraceCollector -lEvent -lCASCatch -lSalomeCatalog -lSalomeDS $(CAS_LDPATH) -lTKernel
-LDFLAGSFORBIN= $(LDFLAGS)
+LDFLAGSFORBIN= $(LDFLAGS) -lqtx -lSalomeContainer -lSalomeResourcesManager -lTOOLSDS -lSalomeHDFPersist -lSalomeDSImpl -lSalomeGenericObj -lRegistry -lSalomeNotification
@CONCLUDE@