]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix executable linking problem
authorvsr <vsr@opencascade.com>
Fri, 26 May 2006 12:17:24 +0000 (12:17 +0000)
committervsr <vsr@opencascade.com>
Fri, 26 May 2006 12:17:24 +0000 (12:17 +0000)
Makefile.in
src/SMESHClient/Makefile.in

index 2c8ff8b113bc31a64114b002949a6ee15d12e3ea..99141bc32d33b3b4d5e510693e72d92ff4eb40bb 100644 (file)
@@ -28,7 +28,7 @@
 top_srcdir=@top_srcdir@
 top_builddir=.
 srcdir=@srcdir@
-VPATH=.:@srcdir@:@top_srcdir@/bin:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
+VPATH=.:@srcdir@:@top_srcdir@/bin:./bin/salome:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
 
 
 @COMMENCE@
@@ -168,16 +168,23 @@ mesh_conv_to_quad.png
 BIN_SCRIPT= \
 VERSION
 
+# copy header files in common directory
+
 include_list = include/salome/SALOMEconfig.h \
                include/salome/SMESH_version.h
 
-# copy header files in common directory
 ifneq ($(HAVE_SSTREAM),yes)
        include_list += include/salome/sstream
 endif
 
 inc: idl $(include_list)
 
+bin: bin/salome/VERSION
+
+bin/salome/VERSION : bin/VERSION
+       -$(RM) $@
+       $(LN_S) ../../$< $@
+
 include/salome/SALOMEconfig.h: salome_adm/unix/SALOMEconfig.ref
        -$(RM) $@
        $(LN_S) ../../$< $@
@@ -196,7 +203,8 @@ include/salome/sstream: salome_adm/unix/sstream
        $(LN_S) ../../$< $@
 
 include/salome/SMESH_version.h: SMESH_version.h
-       cp $< $@
+       -$(RM) $@
+       $(LN_S) ../../$< $@
 
 depend: depend_idl
 
index 202214e452b5fcd5f94f05736a7cd40b909eeed9..743358ef28bebdf8736681dfc1d279ddbe3c5add 100644 (file)
@@ -90,7 +90,12 @@ LDFLAGS  += $(OCC_KERNEL_LIBS) \
        -lSALOMELocalTrace \
        -lSALOMEBasics \
        -lOpUtil \
-       -lTKShHealing
+       -lTKShHealing \
+       -lMeshDriverDAT \
+       -lMeshDriverSTL \
+       -lMeshDriverMED \
+       -lMeshDriverUNV \
+       -lMeshDriver
 
 LDFLAGSFORBIN += $(LDFLAGS)