]> git.sur5r.net Git - openldap/blobdiff - include/setup.mak
Cleanup previous commit
[openldap] / include / setup.mak
index 13f25b36ea8a1826d8949b4dfb4c73a885d82a9b..0a2c1ccf66490ee8296eeca3505c7fe04e4e262a 100644 (file)
@@ -1,5 +1,6 @@
+# $OpenLDAP$
 #
-# Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+# Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
 # COPYING RESTRICTIONS APPLY, see COPYRIGHT file
 #
 
@@ -8,7 +9,7 @@
 .nt.h:
        copy $*.nt $*.h
 
-all: setup.txt
+all: setup.txt ol_version0.h
 
 setup.txt: lber_types.h ldap_config.h ldap_features.h portable.h setup.mak
        copy setup.mak setup.txt
@@ -17,3 +18,6 @@ lber_types.h: lber_types.nt
 ldap_config.h: ldap_config.nt
 ldap_features.h: ldap_features.nt
 portable.h: portable.nt
+
+ol_version0.h: ../build/version.h
+       $(CPP) /EP -D_OLV_WHO=\"$(USERNAME)@$(COMPUTERNAME)\" $? > $@