diff options
author | Luke Leighton <lkcl@samba.org> | 1998-05-18 11:54:00 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-05-18 11:54:00 +0000 |
commit | f215d375f0f1e12894c2a9e86bd28d4776d337c1 (patch) | |
tree | d526dbd03b7da7a56aca6cef2af5baa1cf0cf2a2 /source/script | |
parent | 0146883f8568de4642087bb769b0381c3217d792 (diff) | |
download | samba-f215d375f0f1e12894c2a9e86bd28d4776d337c1.tar.gz samba-f215d375f0f1e12894c2a9e86bd28d4776d337c1.tar.xz samba-f215d375f0f1e12894c2a9e86bd28d4776d337c1.zip |
Makefile:
- added nisppass.c and NISPLUS_FLAGS
includes.h:
- renamed USE_LDAP to USE_LDAP_DB. renamed NISPLUS to USE_NISPLUS_DB.
added default define of USE_SMBPASS_DB.
- removed ldap headers: they are local only to ldap.c
ldap.c :
- made all ldap-specific functions static.
- added dummy sam21 functions
loadparm.c :
- renamed NISPLUS to NISPLUS_HOME
mkproto.awk
- commented out ldap-specific #ifdef generation code: it's not
needed now that ldap-specific functions in ldap.c are static
nisppass.c :
- first attempt at an add function from
Diffstat (limited to 'source/script')
-rw-r--r-- | source/script/mkproto.awk | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk index b1c7f79c18d..e5f0c114772 100644 --- a/source/script/mkproto.awk +++ b/source/script/mkproto.awk @@ -1,6 +1,6 @@ BEGIN { inheader=0; - use_ldap_define = 0; +# use_ldap_define = 0; current_file=""; print "/* This file is automatically generated with \"make proto\". DO NOT EDIT */" print "" @@ -8,19 +8,19 @@ BEGIN { { if (FILENAME!=current_file) { - if (use_ldap_define) - { - print "#endif /* USE_LDAP */" - use_ldap_define = 0; - } +# if (use_ldap_define) +# { +# print "#endif /* USE_LDAP */" +# use_ldap_define = 0; +# } print "" print "/*The following definitions come from ",FILENAME," */" print "" current_file=FILENAME - if (current_file=="ldap.c") { - print "#ifdef USE_LDAP" - use_ldap_define = 1; - } +# if (current_file=="ldap.c") { +# print "#ifdef USE_LDAP" +# use_ldap_define = 1; +# } } if (inheader) { if (match($0,"[)][ \t]*$")) { |