Salome HOME
Fix bug SMESH5528 (The compilation fails on the file SMESHDriver.cxx using gcc2.95.4).
[modules/smesh.git] / src / DriverMED / Makefile.in
index 6736394715779714b937666bea1215177301a96a..1a5396a8c7d041d69b4f0b45b576ef211da96fa7 100644 (file)
 # 
 #  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
 #
-#
-#
 #  File   : Makefile.in
 #  Author : Marc Tajchman (CEA)
 #  Module : SMESH
-#  $Header$
 
 top_srcdir=@top_srcdir@
-top_builddir=../../..
+top_builddir=../..
 srcdir=@srcdir@
 VPATH=.:@srcdir@
 
@@ -35,20 +32,30 @@ VPATH=.:@srcdir@
 @COMMENCE@
 
 # header files 
-EXPORT_HEADERS= DriverMED_R_SMDS_Mesh.h DriverMED_R_SMESHDS_Mesh.h DriverMED_R_SMESHDS_Document.h DriverMED_W_SMDS_Mesh.h DriverMED_W_SMESHDS_Mesh.h DriverMED_W_SMESHDS_Document.h 
+EXPORT_HEADERS = \
+       DriverMED_R_SMESHDS_Mesh.h \
+       DriverMED_R_SMESHDS_Document.h \
+       DriverMED_R_SMDS_Mesh.h \
+       DriverMED_W_SMESHDS_Mesh.h 
+       #DriverMED_W_SMDS_Mesh.h \
+       #DriverMED_W_SMESHDS_Document.h 
 
 # Libraries targets
 LIB = libMeshDriverMED.la
-LIB_SRC = DriverMED_R_SMDS_Mesh.cxx DriverMED_R_SMESHDS_Mesh.cxx DriverMED_R_SMESHDS_Document.cxx DriverMED_W_SMDS_Mesh.cxx DriverMED_W_SMESHDS_Mesh.cxx DriverMED_W_SMESHDS_Document.cxx 
-
+LIB_SRC = \
+       DriverMED_R_SMESHDS_Mesh.cxx \
+       DriverMED_R_SMESHDS_Document.cxx \
+       DriverMED_R_SMDS_Mesh.cxx \
+       DriverMED_W_SMESHDS_Mesh.cxx 
+       #DriverMED_W_SMDS_Mesh.cxx \
+       #DriverMED_W_SMESHDS_Document.cxx 
 LIB_CLIENT_IDL =
-
 LIB_SERVER_IDL =
 
 # additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) $(QT_INCLUDES)
-CXXFLAGS += $(OCC_CXXFLAGS) $(MED2_INCLUDES) 
-LDFLAGS  += $(OCC_LIBS) $(MED2_LIBS) -lMeshDriver -lmed
+CPPFLAGS += $(OCC_INCLUDES) $(QT_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
+CXXFLAGS += $(OCC_CXXFLAGS) $(MED2_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
+LDFLAGS  += $(MED2_LIBS) -lMeshDriver -lmed
 
 %_moc.cxx: %.h
        $(MOC) $< -o $@