slapd Version needs special treatment (Versionstr and non-static).

This commit is contained in:
Kurt Zeilenga 1999-04-28 20:34:19 +00:00
parent 5dbb2e760f
commit 8106400a04
2 changed files with 1 additions and 14 deletions

View file

@ -80,7 +80,7 @@ libbackends.a: .backend
version.c: libbackends.a $(OBJS) $(SLAPD_LIBDEPEND)
@-$(RM) $@
$(MKVERSION) slapd > $@
$(MKVERSION) -c -s -n Versionstr slapd > $@
depend-local-srv: FORCE
@for i in back-* shell-backends tools; do \

View file

@ -1,13 +0,0 @@
/*
* Copyright (c) 1991 Regents of the University of Michigan.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of Michigan at Ann Arbor. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
*/
char Versionstr[] = "slapd %VERSION% (%WHEN%)\n\t%WHOANDWHERE%\n";