Salome HOME
Apply patch from Paul Rascle (correction of make procedure)
[modules/smesh.git] / src / DriverMED / Makefile.in
index 517ee953b268e62892d580ef9f6f57df9c5bb209..47997c6d733dd7f336c4717a7b21a9c9e48c7349 100644 (file)
@@ -35,23 +35,35 @@ 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_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 \
+       DriverMED_Family.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_SMDS_Mesh.cxx \
+       DriverMED_R_SMESHDS_Mesh.cxx \
+       DriverMED_R_SMESHDS_Document.cxx \
+       DriverMED_W_SMDS_Mesh.cxx \
+       DriverMED_W_SMESHDS_Document.cxx \
+       DriverMED_W_SMESHDS_Mesh.cxx \
+       DriverMED_Family.cxx
+
+# Executables targets
+BIN = MED_Test
 
 LIB_CLIENT_IDL =
 
 LIB_SERVER_IDL =
 
 # additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES) $(QT_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS += $(OCC_CXXFLAGS) $(MED2_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS  += $(OCC_LIBS) $(MED2_LIBS) -lMeshDriver -lmed
+CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome $(BOOST_CPPFLAGS)
+CXXFLAGS += $(OCC_CXXFLAGS) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
+LDFLAGS  += -lMeshDriver -L${KERNEL_ROOT_DIR}/lib/salome -lMEDWrapper
 
-%_moc.cxx: %.h
-       $(MOC) $< -o $@
+LDFLAGSFORBIN += -lMeshDriver -lSMDS -lSMESHDS -L${KERNEL_ROOT_DIR}/lib/salome -lMEDWrapper -lMEDWrapperBase -lMEDWrapper_V2_1 -lMEDWrapper_V2_2 -lOpUtil -lSALOMELocalTrace
 
 @CONCLUDE@