Commit 9b470e14 authored by Howard Chu's avatar Howard Chu
Browse files

Revert previous commit, added NT mkvers script

parent d0c81ff2
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
......@@ -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
......@@ -170,7 +170,6 @@ AC_CFLAGS = @CFLAGS@
AC_DEFS = @CPPFLAGS@ # @DEFS@
AC_LDFLAGS = @LDFLAGS@
AC_LIBS = @LIBS@
CWD_DEF = -D_OLV_CWD=\"`pwd`\"
KRB4_LIBS = @KRB4_LIBS@
KRB5_LIBS = @KRB5_LIBS@
......
......@@ -7,7 +7,3 @@
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";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment