]> git.sur5r.net Git - openldap/blobdiff - build/lib.mk
Revert previous commit, added NT mkvers script
[openldap] / build / lib.mk
index 808a6939f1d185c1fbbd10c211190ccde2cafb12..d31ad5c93d09c6cc0e01ca617be6bfa08b10be6c 100644 (file)
@@ -1,5 +1,5 @@
 # $OpenLDAP$
-## Copyright 1998-2002 The OpenLDAP Foundation
+## Copyright 1998-2003 The OpenLDAP Foundation
 ## COPYING RESTRICTIONS APPLY.  See COPYRIGHT File in top level directory
 ## of this package for details.
 ##---------------------------------------------------------------------------
@@ -9,10 +9,12 @@
 
 all-common: $(LIBRARY) $(PROGRAMS)
 
-version.c: $(OBJS)
+version.c: Makefile
        $(RM) $@
        $(MKVERSION) $(LIBRARY) > $@
 
+version.o: version.c $(OBJS)
+
 install-common: FORCE
 
 lint: lint-local FORCE