--- /dev/null
+rem $OpenLDAP$
+rem Copyright 1998-2003 The OpenLDAP Foundation
+rem COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
+rem of this package for details.
+rem
+rem Create a version.c file from build/version.h
+rem
+
+rem input, output, app, 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
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
AC_DEFS = @CPPFLAGS@ # @DEFS@
AC_LDFLAGS = @LDFLAGS@
AC_LIBS = @LIBS@
-CWD_DEF = -D_OLV_CWD=\"`pwd`\"
KRB4_LIBS = @KRB4_LIBS@
KRB5_LIBS = @KRB5_LIBS@
static const char copyright[] =
"Copyright 1998-2003 The OpenLDAP Foundation\n"
"COPYING RESTRICTIONS APPLY\n";
-
-_OLV_STATIC const char __Version[] =
-"@(#) $" OPENLDAP_PACKAGE ": " _OLV_APP " " OPENLDAP_VERSION " (" _OLV_DATE " " _OLV_TIME ") $\n\t" _OLV_WHO ":" _OLV_CWD "\n";
-