From: Kurt Zeilenga Date: Wed, 28 Apr 1999 20:34:19 +0000 (+0000) Subject: slapd Version needs special treatment (Versionstr and non-static). X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~126 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8106400a0486136bdcf152cd0ad8a8ef988b546e;p=openldap slapd Version needs special treatment (Versionstr and non-static). --- diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index a136598e1a..6b05562d6f 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -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 \ diff --git a/servers/slapd/Version.c b/servers/slapd/Version.c deleted file mode 100644 index 176ddef003..0000000000 --- a/servers/slapd/Version.c +++ /dev/null @@ -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";