2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 01:12:13 +00:00

Added creation of versioned files when building DLLs.

[SVN r13268]
This commit is contained in:
Rene Rivera
2002-03-25 04:37:20 +00:00
parent da49104c65
commit 30e32bba35
2 changed files with 18 additions and 0 deletions

View File

@@ -193,6 +193,15 @@ rule Link-DLL
gRUN_LD_LIBRARY_PATH($(<)) += $(gLOCATE($(<[1]))) ;
}
Link-action $(<) : $(>) : DLL ;
if $(DLLVERSION)
{
local f = $(<).$(DLLVERSION) ;
MakeLocate $(f) : $(LOCATE_TARGET) ;
Clean clean : $(f) ;
MODE on $(f) = $($(3)MODE) ;
DEPENDS $(f) : $(<) ;
HardLink $(f) : $(<) ;
}
}
# store the shell's PATH again, just in case someone uses PATH.

View File

@@ -193,6 +193,15 @@ rule Link-DLL
gRUN_LD_LIBRARY_PATH($(<)) += $(gLOCATE($(<[1]))) ;
}
Link-action $(<) : $(>) : DLL ;
if $(DLLVERSION)
{
local f = $(<).$(DLLVERSION) ;
MakeLocate $(f) : $(LOCATE_TARGET) ;
Clean clean : $(f) ;
MODE on $(f) = $($(3)MODE) ;
DEPENDS $(f) : $(<) ;
HardLink $(f) : $(<) ;
}
}
# store the shell's PATH again, just in case someone uses PATH.