Salome HOME
Remove OCC_LIBS from LDFLAGS
[modules/smesh.git] / src / DriverUNV / Makefile.in
index 238527a99823501f5b8d0ee59eedc1ea6127d9f9..cfb048787a595a60312f5cc88faefb6cf178b010 100644 (file)
@@ -27,7 +27,7 @@
 #  $Header$
 
 top_srcdir=@top_srcdir@
-top_builddir=../../..
+top_builddir=../..
 srcdir=@srcdir@
 VPATH=.:@srcdir@
 
@@ -40,17 +40,22 @@ EXPORT_HEADERS= DriverUNV_R_SMDS_Mesh.h DriverUNV_R_SMESHDS_Mesh.h DriverUNV_R_S
 
 # Libraries targets
 LIB = libMeshDriverUNV.la
-LIB_SRC = DriverUNV_R_SMDS_Mesh.cxx DriverUNV_R_SMESHDS_Mesh.cxx DriverUNV_R_SMESHDS_Document.cxx \
-          DriverUNV_W_SMDS_Mesh.cxx DriverUNV_W_SMESHDS_Mesh.cxx DriverUNV_W_SMESHDS_Document.cxx 
+LIB_SRC = \
+       DriverUNV_R_SMDS_Mesh.cxx \
+       DriverUNV_R_SMESHDS_Mesh.cxx \
+       DriverUNV_R_SMESHDS_Document.cxx \
+       DriverUNV_W_SMESHDS_Document.cxx \
+       DriverUNV_W_SMDS_Mesh.cxx \
+       DriverUNV_W_SMESHDS_Mesh.cxx 
 
 LIB_CLIENT_IDL =
 
 LIB_SERVER_IDL =
 
 # additionnal information to compil and link file
-CPPFLAGS += $(OCC_INCLUDES)
-CXXFLAGS += $(OCC_CXXFLAGS) $(MED2_INCLUDES)
-LDFLAGS  += $(OCC_LIBS) $(MED2_LIBS) -lMeshDriver
+CPPFLAGS += $(OCC_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
+CXXFLAGS += $(OCC_CXXFLAGS) $(MED2_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
+LDFLAGS  += $(MED2_LIBS) -lMeshDriver
 
 %_moc.cxx: %.h
        $(MOC) $< -o $@