summaryrefslogtreecommitdiff
path: root/source3/script/mkproto.awk
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-05-18 11:54:00 +0000
committerLuke Leighton <lkcl@samba.org>1998-05-18 11:54:00 +0000
commit32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8 (patch)
tree11d821038aec3d384ed8d17607c32d412aa28d9a /source3/script/mkproto.awk
parent94a39bd9a2bfd3c87596cc1311860b7f840b1634 (diff)
downloadsamba-32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8.tar.gz
samba-32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8.tar.bz2
samba-32954eb9e9eb1e3613ad55cb1afd5e19e81b5da8.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 (This used to be commit f215d375f0f1e12894c2a9e86bd28d4776d337c1)
Diffstat (limited to 'source3/script/mkproto.awk')
-rw-r--r--source3/script/mkproto.awk20
1 files changed, 10 insertions, 10 deletions
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]*$")) {