Salome HOME
updating or adding when merging in the main trunk with the version in the
[modules/smesh.git] / src / SMESH / Makefile.in
index 2d94ab9..e6282c3 100644 (file)
@@ -95,5 +95,14 @@ CXXFLAGS+= $(OCC_CXXFLAGS) $(MED2_INCLUDES) $(HDF5_INCLUDES) -I${KERNEL_ROOT_DIR
 
 LDFLAGS+= $(HDF5_LIBS) $(MED2_LIBS) -lOpUtil -lSMESHDS -lSMDS -lMEFISTO2D -lMeshDriverDAT -lMeshDriverMED -lMeshDriverUNV -L${KERNEL_ROOT_DIR}/lib/salome
 
+ifeq (@WITHNETGEN@,yes)
+  EXPORT_HEADERS+= SMESH_NETGEN_3D.hxx
+  LIB_SRC+= SMESH_NETGEN_3D.cxx
+  NETGEN_INCLUDES=@NETGEN_INCLUDES@
+  CPPFLAGS+= $(NETGEN_INCLUDES)
+  CXXFLAGS+= $(NETGEN_INCLUDES)
+  LDFLAGS+=  -lNETGEN
+endif
+
 @CONCLUDE@