3 # Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
4 # COPYING RESTRICTIONS APPLY, see COPYRIGHT file
7 !include ../build/version.var
9 !if "$(ol_patch)" != "X"
10 ol_version=$(ol_major).$(ol_minor).$(ol_patch)
12 !elseif "$(ol_minor)" != "X"
13 ol_version=$(ol_major).$(ol_minor).$(ol_patch)
16 ol_version=$(ol_major).$(ol_minor)
19 ol_string="$(ol_package) $(ol_version)-$(ol_type)"
28 setup.txt: lber_types.h ldap_config.h ldap_features.h portable.h setup.mak
29 copy setup.mak setup.txt
31 lber_types.h: lber_types.nt
32 ldap_config.h: ldap_config.nt
33 ldap_features.h: ldap_features.nt
35 # note - the edlin script has non-printable characters:
36 # you must use a Ctrl-C to terminate the (i)nput command
37 portable.h: portable.nt
38 echo Setting up $(ol_string)...
39 copy portable.nt portable.h
44 #define OPENLDAP_PACKAGE "$(ol_package)"
50 #define OPENLDAP_VERSION "$(ol_version)"