]> git.sur5r.net Git - openldap/blobdiff - include/setup.mak
Cleanup previous commit
[openldap] / include / setup.mak
index a24056e9edb692d26d55fd9454b98f218a065407..0a2c1ccf66490ee8296eeca3505c7fe04e4e262a 100644 (file)
@@ -1,6 +1,6 @@
 # $OpenLDAP$
 #
-# Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+# Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
 # COPYING RESTRICTIONS APPLY, see COPYRIGHT file
 #
 
@@ -9,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
@@ -18,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)\" $? > $@