# $Header$
top_srcdir=@top_srcdir@
-top_builddir=../../..
+top_builddir=../..
srcdir=@srcdir@
VPATH=.:@srcdir@
@COMMENCE@
# header files
-EXPORT_HEADERS= DriverUNV_R_SMDS_Mesh.h DriverUNV_R_SMESHDS_Mesh.h DriverUNV_R_SMESHDS_Document.h \
- DriverUNV_W_SMDS_Mesh.h DriverUNV_W_SMESHDS_Mesh.h DriverUNV_W_SMESHDS_Document.h
+EXPORT_HEADERS= DriverUNV_R_SMDS_Mesh.h \
+ DriverUNV_R_SMESHDS_Mesh.h \
+ DriverUNV_R_SMESHDS_Document.h \
+ DriverUNV_W_SMDS_Mesh.h \
+ DriverUNV_W_SMESHDS_Mesh.h \
+ DriverUNV_W_SMESHDS_Document.h
# 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 \
+ UNV_Utilities.cxx UNV2411_Structure.cxx UNV2412_Structure.cxx
+
+# Executables targets
+BIN = UNV_Test
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 += -I${KERNEL_ROOT_DIR}/include/salome $(OCC_INCLUDES) $(BOOST_CPPFLAGS)
+CXXFLAGS += -I${KERNEL_ROOT_DIR}/include/salome
+LDFLAGS += -lMeshDriver $(OCC_KERNEL_LIBS)
-%_moc.cxx: %.h
- $(MOC) $< -o $@
+LDFLAGSFORBIN += -lMeshDriver -lSMDS -L${KERNEL_ROOT_DIR}/lib/salome -lOpUtil -lSALOMELocalTrace
@CONCLUDE@