]> git.sur5r.net Git - openldap/commitdiff
slapd Version needs special treatment (Versionstr and non-static).
authorKurt Zeilenga <kurt@openldap.org>
Wed, 28 Apr 1999 20:34:19 +0000 (20:34 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 28 Apr 1999 20:34:19 +0000 (20:34 +0000)
servers/slapd/Makefile.in
servers/slapd/Version.c [deleted file]

index a136598e1aa9be27b939629269abbfe4e6d7fa61..6b05562d6f7514a031fbd9b868172d5bea732f08 100644 (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 \
diff --git a/servers/slapd/Version.c b/servers/slapd/Version.c
deleted file mode 100644 (file)
index 176ddef..0000000
+++ /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";