--- /dev/null
+/*
+ * 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";
+
+_OLV_STATIC const char __Version[] =
+"@(#) $" _OLV_PKG ": " _OLV_APP " " _OLV_VER " (" _OLV_DATE " " _OLV_TIME ") $\n\t" _OLV_WHO ":" _OLV_CWD "\n";
+
##
## include Makefile.in for OpenLDAP
-all-local: ldap_config.h FORCE
+all-local: ldap_config.h version0.h FORCE
install-local: FORCE
-$(MKDIR) $(DESTDIR)$(includedir)
$(LDAP_CONFIG) >> $@; \
$(CHMOD) 444 $@
+version0.h: $(top_srcdir)/build/version.h
+ $(CPP) -D_OLV_PKG=\"$(PACKAGE)\" -D_OLV_VER=\"$(VERSION)\" \
+ -D_OLV_WHO=\"$$USER@`uname -n`\" $? > $@
+
all-common: all-local
install-common: all-common install-local
clean-common: clean-local
--- /dev/null
+/*
+ * Copyright 1998-2003 The OpenLDAP Foundation
+ * COPYING RESTRICTIONS APPLY. See COPYRIGHT file in top level directory
+ * of this package for details.
+ */
+
+#define _OLV_DATE __DATE__
+#define _OLV_TIME __TIME__
+#ifndef _OLV_STATIC
+#define _OLV_STATIC static
+#endif
+#include "version0.h"