From 32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Mon, 18 May 1998 11:54:00 +0000 Subject: 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 (This used to be commit f215d375f0f1e12894c2a9e86bd28d4776d337c1) --- source3/script/mkproto.awk | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source3/script') diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk index b1c7f79c18..e5f0c11477 100644 --- a/source3/script/mkproto.awk +++ b/source3/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]*$")) { -- cgit