Commit 0aac8b54 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

New version management code

back-bdb cache/dbcache fixes
oidm destroy fix
parent cea5bf33
......@@ -9,10 +9,12 @@
all-common: $(LIBRARY) $(PROGRAMS)
version.c: $(OBJS)
version.c: Makefile
$(RM) $@
$(MKVERSION) $(LIBRARY) > $@
version.o version.lo: version.c $(OBJS)
install-common: FORCE
lint: lint-local FORCE
......
......@@ -42,7 +42,7 @@ if test ! -e $RELNAME/build/version.sh ; then
exit 1
fi
. $RELNAME/build/version.sh
eval `$RELNAME/build/version.sh`
tar cf $RELNAME.tar $RELNAME
gzip -9 -c $RELNAME.tar > $RELNAME.tgz
......
:: $OpenLDAP$
:: Copyright 1998-2003 The OpenLDAP Foundation
:: COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
:: of this package for details.
::
:: Create a version.c file from build/version.h
::
:: usage: mkvers.bat <path/version.h>, <version.c>, <appname>, <static>
copy %1 %2
(echo. ) >> %2
(echo #include "portable.h") >> %2
(echo. ) >> %2
(echo %4 const char __Version[] =) >> %2
(echo "@(#) $" OPENLDAP_PACKAGE ": %3 " OPENLDAP_VERSION) >> %2
(echo " (" __DATE__ " " __TIME__ ") $\n") >> %2
(echo "\t%USERNAME%@%COMPUTERNAME% %CD:\=/%\n";) >> %2
......@@ -42,7 +42,6 @@ if test $# != 1 ; then
fi
APPLICATION=$1
WHEN=`date`
WHOWHERE="$USER@`uname -n`:`pwd`"
cat << __EOF__
......@@ -56,6 +55,6 @@ static const char copyright[] =
"COPYING RESTRICTIONS APPLY\n";
$static $const char $SYMBOL[] =
"@(#) \$$PACKAGE: $APPLICATION $VERSION ($WHEN) \$\n\t$WHOWHERE\n";
"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n\t$WHOWHERE\n";
__EOF__
......@@ -22,10 +22,12 @@ all-no lint-no 5lint-no depend-no install-no: FORCE
all-common: all-$(BUILD_MOD)
version.c: $(OBJS)
version.c: Makefile
$(RM) $@
$(MKVERSION) $(LIBBASE) > $@
version.lo: version.c $(OBJS)
$(LIBRARY): version.lo
$(LTLINK_MOD) -module -o $@ $(OBJS) version.lo $(LINK_LIBS)
......
......@@ -66,7 +66,7 @@ LIBVERSION = @OPENLDAP_LIBVERSION@
LTVERSION = -version-info $(LIBVERSION)
# libtool --only flag for libraries: platform specific
NT_LTONLY_LIB = --only-$(BUILD_LIBS_DYNAMIC)
NT_LTONLY_LIB = # --only-$(BUILD_LIBS_DYNAMIC)
LTONLY_LIB = $(@PLAT@_LTONLY_LIB)
# libtool --only flag for modules: depends on linkage of module
......
/*
* Copyright 1998-2003 The OpenLDAP Foundation
* COPYING RESTRICTIONS APPLY. See COPYRIGHT file in top level directory
* of this package for details.
*/
static const char copyright[] =
"Copyright 1998-2003 The OpenLDAP Foundation\n"
"COPYING RESTRICTIONS APPLY\n";
......@@ -4,13 +4,8 @@
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
## of this package for details.
#
ol_package=OpenLDAP
ol_major=2
ol_minor=1
ol_patch=X
ol_api_inc=20116
ol_api_lib=2:116:0
ol_release_date="03-15-2003"
DIR=`dirname $0`
. $DIR/version.var
if test $ol_patch != X ; then
ol_version=${ol_major}.${ol_minor}.${ol_patch}
......
#! /bin/sh
# $OpenLDAP$
## Copyright 2000-2003 The OpenLDAP Foundation
## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
## of this package for details.
#
ol_package=OpenLDAP
ol_major=2
ol_minor=1
ol_patch=X
ol_api_inc=20116
ol_api_lib=2:116:0
ol_release_date="03-15-2003"
......@@ -43,34 +43,47 @@ ldapwhoami: ldwversion.o
ldapcompare: ldcversion.o
$(LTLINK) -o $@ ldapcompare.o common.o ldcversion.o $(LIBS)
ldsversion.c: ldapsearch.o common.o $(XLIBS)
ldsversion.c: Makefile
@-$(RM) $@
$(MKVERSION) $(MKVOPTS) ldapsearch > $@
ldmversion.c: ldapmodify.o common.o $(XLIBS)
ldsversion.o: ldapsearch.o common.o $(XLIBS)
ldmversion.c: Makefile
@-$(RM) $@
$(MKVERSION) $(MKVOPTS) ldapmodify > $@
lddversion.c: ldapdelete.o common.o $(XLIBS)
ldmversion.o: ldapmodify.o common.o $(XLIBS)
lddversion.c: Makefile
@-$(RM) $@
$(MKVERSION) $(MKVOPTS) ldapdelete > $@
ldpversion.c: ldappasswd.o common.o $(XLIBS)
lddversion.o: ldapdelete.o common.o $(XLIBS)
ldpversion.c: Makefile
@-$(RM) $@
$(MKVERSION) $(MKVOPTS) ldappasswd > $@
ldrversion.c: ldapmodrdn.o common.o $(XLIBS)
ldpversion.o: ldappasswd.o common.o $(XLIBS)
ldrversion.c: Makefile
@-$(RM) $@
$(MKVERSION) $(MKVOPTS) ldapmodrdn > $@
ldwversion.c: ldapwhoami.o common.o $(XLIBS)
ldrversion.o: ldapmodrdn.o common.o $(XLIBS)
ldwversion.c: Makefile
@-$(RM) $@
$(MKVERSION) $(MKVOPTS) ldapwhoami > $@
ldcversion.c: ldapcompare.o common.o $(XLIBS)
ldwversion.o: ldapwhoami.o common.o $(XLIBS)
ldcversion.c: Makefile
@-$(RM) $@
$(MKVERSION) $(MKVOPTS) ldapcompare > $@
ldcversion.o: ldapcompare.o common.o $(XLIBS)
install-local: FORCE
-$(MKDIR) $(DESTDIR)$(bindir)
......
......@@ -28,7 +28,6 @@
#include <ldap.h>
#include "ldif.h"
#include "lutil.h"
#include "lutil_ldap.h"
#include "ldap_defaults.h"
......@@ -159,9 +158,6 @@ main( int argc, char **argv )
}
}
if ( debug )
ldif_debug = debug;
ld = tool_conn_setup( 0, 0 );
if ( pw_file || want_bindpw ) {
......
......@@ -37,8 +37,8 @@ RSC=rc.exe
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "ldapdele"
# PROP BASE Intermediate_Dir "ldapdele"
# PROP BASE Output_Dir "ldapcomp"
# PROP BASE Intermediate_Dir "ldapcomp"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
......@@ -55,15 +55,15 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\libraries\Debug"
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\SDebug"
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Single Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ldapdel0"
# PROP BASE Intermediate_Dir "ldapdel0"
# PROP BASE Output_Dir "ldapcom0"
# PROP BASE Intermediate_Dir "ldapcom0"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
......@@ -80,15 +80,15 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\libraries\Release"
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"SRelease/ldapcompare.exe" /libpath:"..\..\SRelease"
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\SRelease"
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "ldapdel1"
# PROP BASE Intermediate_Dir "ldapdel1"
# PROP BASE Output_Dir "ldapcom1"
# PROP BASE Intermediate_Dir "ldapcom1"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
......@@ -105,15 +105,15 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\libraries\Debug"
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Debug"
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ldapdel2"
# PROP BASE Intermediate_Dir "ldapdel2"
# PROP BASE Output_Dir "ldapcom2"
# PROP BASE Intermediate_Dir "ldapcom2"
# PROP BASE Ignore_Export_Lib 0
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
......@@ -130,8 +130,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapcompare.exe" /libpath:"..\..\libraries\Release"
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapcompare.exe" /libpath:"..\..\Release"
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\Release"
!ENDIF
......@@ -148,6 +148,57 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapcompare.c
# End Source File
# Begin Source File
SOURCE=.\ldcversion.c
# End Source File
# Begin Source File
SOURCE=..\..\build\version.h
USERDEP__VERSI="common.c" "ldapcompare.c" "$(OUTDIR)\oldap32.lib" "$(OUTDIR)\olber32.lib" "$(OUTDIR)\oldif32.lib" "$(OUTDIR)\olutil32.lib"
InputDir=..\..\build
InputPath=..\..\build\version.h
!IF "$(CFG)" == "ldapcompare - Win32 Single Debug"
# Begin Custom Build
"ldcversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldcversion.c ldapcompare /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Single Release"
# Begin Custom Build
"ldcversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldcversion.c ldapcompare /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Release"
# Begin Custom Build
"ldcversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldcversion.c ldapcompare /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapcompare - Win32 Debug"
# Begin Custom Build
"ldcversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldcversion.c ldapcompare /**/
# End Custom Build
!ENDIF
# End Source File
# End Target
# End Project
......@@ -55,7 +55,7 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\libraries\Debug"
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\SDebug"
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Single Release"
......@@ -80,8 +80,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\libraries\Release"
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"SRelease/ldapdelete.exe" /libpath:"..\..\SRelease"
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\SRelease"
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Debug"
......@@ -105,7 +105,7 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\libraries\Debug"
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Debug"
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Release"
......@@ -130,8 +130,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapdelete.exe" /libpath:"..\..\libraries\Release"
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapdelete.exe" /libpath:"..\..\Release"
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\Release"
!ENDIF
......@@ -148,6 +148,57 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapdelete.c
# End Source File
# Begin Source File
SOURCE=.\lddversion.c
# End Source File
# Begin Source File
SOURCE=..\..\build\version.h
USERDEP__VERSI="common.c" "ldapdelete.c" "$(OUTDIR)\oldap32.lib" "$(OUTDIR)\olber32.lib" "$(OUTDIR)\olutil32.lib"
InputDir=..\..\build
InputPath=..\..\build\version.h
!IF "$(CFG)" == "ldapdelete - Win32 Single Debug"
# Begin Custom Build
"lddversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) lddversion.c ldapdelete /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Single Release"
# Begin Custom Build
"lddversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) lddversion.c ldapdelete /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Release"
# Begin Custom Build
"lddversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) lddversion.c ldapdelete /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapdelete - Win32 Debug"
# Begin Custom Build
"lddversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) lddversion.c ldapdelete /**/
# End Custom Build
!ENDIF
# End Source File
# End Target
# End Project
......@@ -55,8 +55,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 oldap32.lib olber32.lib oldif32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\libraries\Debug"
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /out:"SDebug/ldapmodify.exe" /pdbtype:sept /libpath:"..\..\SDebug"
# ADD BASE LINK32 oldap32.lib olber32.lib oldif32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\SDebug"
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Single Release"
......@@ -80,8 +80,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 oldap32.lib olber32.lib oldif32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\libraries\Release"
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"SRelease/ldapmodify.exe" /libpath:"..\..\SRelease"
# ADD BASE LINK32 oldap32.lib olber32.lib oldif32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\SRelease"
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Debug"
......@@ -105,8 +105,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /out:"Release/ldapmodify.exe" /pdbtype:sept /libpath:"..\..\libraries\Debug"
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /out:"Debug/ldapmodify.exe" /pdbtype:sept /libpath:"..\..\Debug"
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Debug"
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Release"
......@@ -130,8 +130,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapmodify.exe" /libpath:"..\..\libraries\Release"
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapmodify.exe" /libpath:"..\..\Release"
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\Release"
!ENDIF
......@@ -148,6 +148,57 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapmodify.c
# End Source File
# Begin Source File
SOURCE=.\ldmversion.c
# End Source File
# Begin Source File
SOURCE=..\..\build\version.h
USERDEP__VERSI="common.c" "ldapmodify.c" "$(OUTDIR)\oldap32.lib" "$(OUTDIR)\olber32.lib" "$(OUTDIR)\oldif32.lib" "$(OUTDIR)\olutil32.lib"
InputDir=..\..\build
InputPath=..\..\build\version.h
!IF "$(CFG)" == "ldapmodify - Win32 Single Debug"
# Begin Custom Build
"ldmversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldmversion.c ldapmodify /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Single Release"
# Begin Custom Build
"ldmversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldmversion.c ldapmodify /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Release"
# Begin Custom Build
"ldmversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldmversion.c ldapmodify /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapmodify - Win32 Debug"
# Begin Custom Build
"ldmversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldmversion.c ldapmodify /**/
# End Custom Build
!ENDIF
# End Source File
# End Target
# End Project
......@@ -55,7 +55,7 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\libraries\Debug"
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\SDebug"
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Single Release"
......@@ -80,8 +80,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\libraries\Release"
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapmodrdn.exe" /libpath:"..\..\SRelease"
# ADD BASE LINK32 oldap32.lib olber32.lib olutil32.lib ws2_32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\SRelease"
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Debug"
......@@ -105,7 +105,7 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\libraries\Debug"
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
# ADD LINK32 libsasl.lib ws2_32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /libpath:"..\..\Debug"
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Release"
......@@ -130,8 +130,8 @@ BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapmodrdn.exe" /libpath:"..\..\libraries\Release"
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /out:"Release/ldapmodrdn.exe" /libpath:"..\..\Release"
# ADD BASE LINK32 ws2_32.lib /nologo /subsystem:console /machine:I386
# ADD LINK32 sasl.lib libsasl.lib ws2_32.lib /nologo /subsystem:console /machine:I386 /libpath:"..\..\Release"
!ENDIF
......@@ -148,6 +148,57 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldapmodrdn.c
# End Source File
# Begin Source File
SOURCE=.\ldrversion.c
# End Source File
# Begin Source File
SOURCE=..\..\build\version.h
USERDEP__VERSI="common.c" "ldapmodrdn.c" "$(OUTDIR)\oldap32.lib" "$(OUTDIR)\olber32.lib" "$(OUTDIR)\olutil32.lib"
InputDir=..\..\build
InputPath=..\..\build\version.h
!IF "$(CFG)" == "ldapmodrdn - Win32 Single Debug"
# Begin Custom Build
"ldrversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldrversion.c ldapmodrdn /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Single Release"
# Begin Custom Build
"ldrversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldrversion.c ldapmodrdn /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Release"
# Begin Custom Build
"ldrversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldrversion.c ldapmodrdn /**/
# End Custom Build
!ELSEIF "$(CFG)" == "ldapmodrdn - Win32 Debug"
# Begin Custom Build
"ldrversion.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)"
$(InputDir)\mkvers.bat $(InputPath) ldrversion.c ldapmodrdn /**/
# End Custom Build
!ENDIF
# End Source File
# End Target
# End Project
......@@ -144,6 +144,57 @@ SOURCE=.\common.c
# Begin Source File
SOURCE=.\ldappasswd.c
# End Source File
# Begin Source File
SOURCE=.\ldpversion.c
# End Source File
# Begin Source File
SOURCE=..\..\build\version.h
USERDEP__VERSI="common.c" "ldappasswd.c" "$(OUTDIR)\oldap32.lib" "$(OUTDIR)\olber32.lib" "$(OUTDIR)\olutil32.lib"