]> git.sur5r.net Git - openldap/commitdiff
Removed use of paths not defined in ldapconfig.h.edit.
authorKurt Zeilenga <kurt@openldap.org>
Thu, 20 Aug 1998 03:56:19 +0000 (03:56 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 20 Aug 1998 03:56:19 +0000 (03:56 +0000)
Fixed Dependency Generation not to mess with Make-templates.
side effect: depends are not carried forward after "make makefiles"

36 files changed:
Makefile
build/Make-append
clients/fax500/Make-template
clients/fax500/main.c
clients/fax500/rp500.c
clients/finger/Make-template
clients/finger/main.c
clients/gopher/Make-template
clients/gopher/go500.c
clients/mail500/Make-template
clients/rcpt500/Make-template
clients/tools/Make-template
clients/tools/ldapdelete.c
clients/tools/ldapmodify.c
clients/tools/ldapmodrdn.c
clients/tools/ldapsearch.c
clients/ud/Make-template
clients/ud/auth.c
clients/ud/main.c
include/ldapconfig.h.edit
libraries/libavl/Make-template
libraries/liblber/Make-template
libraries/libldap/Make-template
libraries/libldap/tmplout.c
libraries/libldap/ufn.c
libraries/libldbm/Make-template
libraries/libldif/Make-template
libraries/liblthread/Make-template
servers/ldapd/Make-template
servers/slapd/Make-template
servers/slapd/back-ldbm/Make-template
servers/slapd/back-passwd/Make-template
servers/slapd/back-shell/Make-template
servers/slapd/shell-backends/Make-template
servers/slapd/tools/Make-template
servers/slurpd/Make-template

index be002db16bb04d6d675ee47e47c0781b057e5be9..c24805526fc924145370e896d13130244f432e59 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -161,8 +161,7 @@ depend:     makeconfig
        for i in $(SRCDIRS); do \
            echo; echo "cd $$i; $(MAKE) $(MFLAGS) depend"; \
            ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
-       done; \
-       $(MAKE) $(MFLAGS) makefiles
+       done;
 
 #
 # rules to check out and in Make-template files
@@ -350,12 +349,13 @@ Make-common: Make-common.dist
                echo "  creating $$i/Makefile"; \
                $(RM) $$i/Makefile; \
                $(CAT) $$HDRFILE $$i/Make-template $$DEFSFILE > $$i/Makefile; \
-               $(CHMOD) 444 $$i/Makefile; \
            fi; \
        done; \
        $(RM) .makefiles; \
        touch .makefiles; \
-       $(RM) $$HDRFILE $$DEFSFILE
+       $(RM) $$HDRFILE $$DEFSFILE \
+       echo "Please \"make depend\" before building."
+       
 
 #
 # rule to always build makefiles
index a899b450517f6f8a07a9d3799596170b22fa1710..a841639e79624ebee133aab266458dd05029ca98 100644 (file)
@@ -66,7 +66,7 @@ INSTALL       = install
 INSTALLFLAGS = -c
 BASENAME= basename
 DIRNAME        = dirname
-MKDEP  = $(LDAPSRC)/build/mkdep -s -f Make-template
+MKDEP  = $(LDAPSRC)/build/mkdep -s -f Makefile
 PWD    = pwd
 DATE   = date
 HOSTNAME= hostname
index 896a969d637c35f7723accdba35df272a21317cd..2851ce08ed602c5cf61e471a55533011f5f657f7 100644 (file)
@@ -75,13 +75,3 @@ depend:      FORCE
 links:
        @$(LN) .src/README .src/xrpcomp .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-rp500.o: rp500.c ../../include/ldapconfig.h ../../include/proto-lber.h
-rp500.o: ../../include/proto-ldap.h
-main.o: main.c ../../include/portable.h ../../include/proto-lber.h
-main.o: ../../include/proto-ldap.h
-faxtotpc.o: faxtotpc.c
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 7481d4980e860ec07b4756c89e0ff54d0f04ebef..197b59a217a450e650b229f8ce0e4da23b6f1fc6 100644 (file)
@@ -308,7 +308,7 @@ connect_to_x500()
        ld->ld_sizelimit = FAX_MAXAMBIGUOUS;
        ld->ld_deref = LDAP_DEREF_ALWAYS;
 
-       if ( ldap_simple_bind_s( ld, FAX_BINDDN, NULL ) != LDAP_SUCCESS ) {
+       if ( ldap_simple_bind_s( ld, FAX_BINDDN, FAX_BIND_CRED ) != LDAP_SUCCESS ) {
                syslog( LOG_ALERT, "ldap_simple_bind_s failed" );
                return( -1 );
        }
index 25eece609dacd4d8217d6296ede3e47a5caa3965..46be50f772240a7a249dd4cc9c382c0d14142de9 100644 (file)
 #include <sys/resource.h>
 #include <sys/wait.h>
 #include <signal.h>
+
+#include <lber.h>
+#include <ldap.h>
+
 #include <ldapconfig.h>
-#include "lber.h"
-#include "ldap.h"
 
 #define DEFAULT_PORT           79
 #define DEFAULT_SIZELIMIT      50
 
 int            debug;
-char           *ldaphost = LDAPHOST;
-char           *base = DEFAULT_BASE;
+char   *ldaphost = LDAPHOST;
+char   *base = RP_BASE;
 int            deref;
 int            sizelimit;
 LDAPFiltDesc   *filtd;
@@ -114,7 +116,7 @@ main (argc, argv)
        ld->ld_sizelimit = sizelimit ? sizelimit : DEFAULT_SIZELIMIT;
        ld->ld_deref = deref;
 
-       if ( ldap_simple_bind_s( ld, RP_BINDDN, NULL ) != LDAP_SUCCESS ) {
+       if ( ldap_simple_bind_s( ld, RP_BINDDN, RP_BIND_CRED ) != LDAP_SUCCESS ) {
                fprintf( stderr, "X.500 is temporarily unavailable.\n" );
                ldap_perror( ld, "ldap_simple_bind_s" );
                exit( -1 );
index 3262f9c6b2c3cd25625621f8cb47d4d8bcd5e835..fbcefd8cdf888da211ad428e8cd2683bb70de267 100644 (file)
@@ -60,10 +60,3 @@ depend:      FORCE
 links:
        @$(LN) .src/README .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-main.o: main.c ../../include/ldap.h ../../include/proto-ldap.h
-main.o: ../../include/portable.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 613916c7ddc5141f872dfaf5514b0851de7b03a7..5acb901d1f895e77c79e363003c23971366d0258 100644 (file)
@@ -168,7 +168,9 @@ static do_query()
        ld->ld_sizelimit = FINGER_SIZELIMIT;
        ld->ld_deref = deref;
 
-       if ( ldap_simple_bind_s( ld, FINGER_BINDDN, NULL ) != LDAP_SUCCESS ) {
+       if ( ldap_simple_bind_s( ld, FINGER_BINDDN, FINGER_BIND_CRED )
+               != LDAP_SUCCESS )
+       {
                fprintf( stderr, FINGER_UNAVAILABLE );
                ldap_perror( ld, "ldap_simple_bind_s" );
                exit( 1 );
index 2c5668eeb31e58be3e2ade8b83d9ab86865e2161..0ab0cfad82f6b209016564ee8c352bca5a0fcadb 100644 (file)
@@ -77,14 +77,3 @@ depend:      FORCE
 links:
        @$(LN) .src/README .src/*.help .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-go500.o: go500.c ../../include/ldapconfig.h ../../include/proto-lber.h
-go500.o: ../../include/proto-ldap.h
-go500gw.o: go500gw.c ../../include/ldap.h ../../include/proto-ldap.h
-go500gw.o: ../../include/ldapconfig.h
-detach.o: detach.c
-setproctitle.o: setproctitle.c
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 069790429503b2c0ca2710a07f6d9050443ce4d8..42cb5e4f6d62b93c4c8f8f332ac1accee7af00b6 100644 (file)
@@ -379,7 +379,7 @@ int s;
                }
 
                ld->ld_deref = GO500_DEREF;
-               if ( (rc = ldap_simple_bind_s( ld, GO500_BINDDN, NULL ))
+               if ( (rc = ldap_simple_bind_s( ld, GO500_BINDDN, GO500_BIND_CRED ))
                    != LDAP_SUCCESS ) {
                        fprintf(fp,
                            "0An error occurred (explanation)\t@%d\t%s\t%d\r\n",
index 959ca7cae0187c6728b5cef1039546a0271e3c37..54fc9745262aa7aaea95633626790df196f242e3 100644 (file)
@@ -59,10 +59,3 @@ depend:      FORCE
 links:
        @$(LN) .src/README .src/sendmail.cf .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-main.o: main.c ../../include/portable.h ../../include/proto-lber.h
-main.o: ../../include/proto-ldap.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 1960d5902f579e551819d7ab06ebe23db21f9489..ef1b3e752f893a4989bbaea5b6db154e535b44d4 100644 (file)
@@ -58,13 +58,3 @@ depend:      FORCE
 links:
        @$(LN) .src/README .src/*.[ch] .src/*.help .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-main.o: main.c ../../include/portable.h
-cmds.o: cmds.c
-help.o: help.c ../../include/portable.h
-query.o: query.c ../../include/proto-lber.h ../../include/proto-ldap.h
-query.o: ../../include/ldapconfig.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index bb2b5f54e2b8e4c407d9385769acfd974b322073..09504f9136a274874b7b948f1d3d4d2aede4712b 100644 (file)
@@ -103,16 +103,3 @@ depend:    FORCE
 links:
        @$(LN) .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-ldapsearch.o: ldapsearch.c ../../include/lber.h ../../include/proto-ldap.h
-ldapsearch.o: ../../include/ldapconfig.h
-ldapmodify.o: ldapmodify.c ../../include/lber.h ../../include/proto-ldap.h
-ldapmodify.o: ../../include/ldapconfig.h
-ldapdelete.o: ldapdelete.c ../../include/proto-lber.h
-ldapdelete.o: ../../include/proto-ldap.h
-ldapmodrdn.o: ldapmodrdn.c ../../include/proto-lber.h
-ldapmodrdn.o: ../../include/proto-ldap.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index d827575476d138276aec80b215c28c0880abb5c1..29a372df594dc7886ff01fc65cc70119c7997cb0 100644 (file)
@@ -12,8 +12,8 @@
 #include "ldapconfig.h"
 
 static char    *binddn = LDAPDELETE_BINDDN;
+static char    *passwd = LDAPDELETE_BIND_CRED;
 static char    *base = LDAPDELETE_BASE;
-static char    *passwd = NULL;
 static char    *ldaphost = LDAPHOST;
 static int     ldapport = LDAP_PORT;
 static int     not, verbose, contoper;
index d09b9ad8398b4ece77746f25347a9f5b25db4f40..9d9cd2263f176f7448e5e26ed330524ba4277e05 100644 (file)
@@ -19,7 +19,7 @@
 
 static char    *prog;
 static char    *binddn = LDAPMODIFY_BINDDN;
-static char    *passwd = NULL;
+static char    *passwd = LDAPMODIFY_BIND_CRED;
 static char    *ldaphost = LDAPHOST;
 static int     ldapport = LDAP_PORT;
 static int     new, replace, not, verbose, contoper, force, valsfromfiles;
index 3db722aa07cd2872fea94b300e3f580f7a010f8d..0cf4a23ee592953442c73123c349664f63bf1fb4 100644 (file)
@@ -12,8 +12,8 @@
 #include "ldapconfig.h"
 
 static char    *binddn = LDAPMODRDN_BINDDN;
+static char    *passwd = LDAPMODRDN_BIND_CRED;
 static char    *base = LDAPMODRDN_BASE;
-static char    *passwd = NULL;
 static char    *ldaphost = LDAPHOST;
 static int     ldapport = LDAP_PORT;
 static int     not, verbose, contoper;
index 5d392973373516c0d2c482091a645465940156b7..723d767662650ef082240ae8e0123aea2b66afc2 100644 (file)
@@ -54,7 +54,7 @@ char  *s;
 }
 
 static char    *binddn = LDAPSEARCH_BINDDN;
-static char    *passwd = NULL;
+static char    *passwd = LDAPSEARCH_BIND_CRED;
 static char    *base = LDAPSEARCH_BASE;
 static char    *ldaphost = LDAPHOST;
 static int     ldapport = LDAP_PORT;
index 7f448d3f9f126a4ee703e983395afeb12012f0b0..695c5abb8db460b8b0a8b8ea31ba570da6f13a51 100644 (file)
@@ -29,8 +29,7 @@ OBJS= main.o find.o mod.o print.o auth.o util.o help.o\
 HDRS=  ud.h
 
 INCLUDES= -I$(HDIR) $(KRBINCLUDEFLAG)
-DEFINES= $(DEFS) -DDEBUG -DCONFIG_FILE=\"$(LDAP_ETCDIR)/ud.conf\" \
-               -DLDAP_FRIENDLY_MAP_FILE=\"$(LDAP_ETCDIR)/ldapfriendly\"
+DEFINES= $(DEFS) -DDEBUG
 TERMLIB= -ltermcap
 
 CFLAGS= ${INCLUDES} ${DEFINES} ${ACFLAGS}
@@ -77,20 +76,3 @@ lint: FORCE
 links:
        @$(LN) .src/README .src/etc.ud.conf .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-main.o: main.c ../../include/lber.h ../../include/proto-ldap.h
-main.o: ../../include/portable.h
-find.o: find.c ../../include/proto-lber.h ../../include/proto-ldap.h
-mod.o: mod.c ../../include/proto-lber.h ../../include/proto-ldap.h
-print.o: print.c ../../include/proto-lber.h ../../include/proto-ldap.h
-auth.o: auth.c ../../include/proto-lber.h ../../include/proto-ldap.h
-util.o: util.c ../../include/proto-lber.h ../../include/ldapconfig.h
-help.o: help.c ../../include/proto-lber.h ../../include/proto-ldap.h
-string_to_key.o: string_to_key.c
-group.o: group.c ../../include/lber.h ../../include/proto-ldap.h
-edit.o: edit.c ../../include/lber.h ../../include/proto-ldap.h
-globals.o: globals.c
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index be4727695be956c6d6d0acfe5b77f90d0125e293..9e4c657639a06ecb9b52581900426e9e7d1267d1 100644 (file)
@@ -251,7 +251,7 @@ int implicit;
                else
                        ldap_perror(ld, "ldap_bind_s" );
                (void) ldap_bind_s(ld, default_bind_object,
-                        (char *) UD_PASSWD, LDAP_AUTH_SIMPLE);
+                        (char *) UD_BIND_CRED, LDAP_AUTH_SIMPLE);
                if (default_bind_object == NULL)
                        set_bound_dn(NULL);
                else
index be9508dba9f0b6cf40757497517fba62ed510e96..e3d4e795f482cc691d9111c91d80243de44662a8 100644 (file)
@@ -632,7 +632,7 @@ initialize_client()
                exit(0);
                /* NOTREACHED */
        }
-       if (ldap_bind_s(ld, (char *) default_bind_object, (char *) UD_PASSWD,
+       if (ldap_bind_s(ld, (char *) default_bind_object, (char *) UD_BIND_CRED,
            LDAP_AUTH_SIMPLE) != LDAP_SUCCESS) {
                fprintf(stderr, "  The X.500 Directory is temporarily unavailable.  Please try again later.\n");
                if (ld->ld_errno != LDAP_UNAVAILABLE)
index 265410e2a1c7ce9eed7dfa4802d09d64cf310244..9bf23812d4e0329bb55930411e1bc4b3600ed559 100644 (file)
 /*
  * SHARED DEFINITIONS - things you should change
  */
-       /* default ldap host */
-#define LDAPHOST       "localhost"
-       /* default place to start searching */
-#define DEFAULT_BASE   "o=Your Organization Name, c=US"
-
 #define DEFAULT_BINDIR         "%BINDIR%"
 #define DEFAULT_SBINDIR                "%SBINDIR%"
 #define DEFAULT_ETCDIR         "%ETCDIR%"
 #define DEFAULT_LIBEXECDIR     "%LIBEXECDIR%"
 
+/* default ldap host */
+#define LDAPHOST       "localhost"
+
+#define DEFAULT_LDAPHOST_FILE "%ETCDIR%/ldaphost"
+/* default place to start searching */
+#define DEFAULT_BASE   "o=Your Organization Name, c=US"
+#define DEFAULT_BASE_FILE "%ETCDIR%/ldapbase"
+
+/*
+ * default binddn and creditials
+ *  use files, make sure they are not generally readable
+ */
+#define DEFAULT_BINDDN         NULL
+#define DEFAULT_BINDDN_FILE "%ETCDIR%/ldapbinddn"
+
+#define DEFAULT_BIND_CRED      NULL
+#define DEFAULT_BIND_CRED_FILE "%ETCDIR%/ldapbindcred"
+
 /*********************************************************************
  *                                                                   *
  * You probably do not need to edit anything below this point        *
  * FINGER DEFINITIONS
  */
        /* who to bind as */
-#define FINGER_BINDDN          NULL
+#define FINGER_BINDDN                  NULL
+#define FINGER_BIND_CRED               NULL
        /* where to search */
-#define FINGER_BASE            DEFAULT_BASE
+#define FINGER_BASE                            DEFAULT_BASE
        /* banner to print */
 #define FINGER_BANNER          "X.500 Finger Service...\r\n"
        /* who to report errors to */
-#define FINGER_ERRORS          "your local system administrator"
+#define FINGER_ERRORS          "System Administrator"
        /* what to say if no matches are found */
 #define FINGER_NOMATCH         "Search failed to find anything.\r\n"
        /* what to say if the service may be unavailable */
 #define FINGER_UNAVAILABLE     \
-"The X.500 service may be temporarily unavailable.\r\n\
+"The directory service may be temporarily unavailable.\r\n\
 Please try again later.\r\n"
        /* printed if a match has no email address - for disptmp default */
 #define FINGER_NOEMAIL1        "None registered in this service."
@@ -94,6 +108,7 @@ Please try again later.\r\n"
  */
        /* who to bind as */
 #define GO500_BINDDN   NULL
+#define GO500_BIND_CRED        NULL
        /* where to search */
 #define GO500_BASE     DEFAULT_BASE
        /* port on which to listen */
@@ -118,7 +133,8 @@ Please try again later.\r\n"
  * GO500GW GOPHER GATEWAY DEFINITIONS
  */
        /* who to bind as */
-#define GO500GW_BINDDN         NULL
+#define GO500GW_BINDDN                 NULL
+#define GO500GW_BIND_CRED              NULL
        /* where the helpfile lives */
 #define GO500GW_HELPFILE       "%ETCDIR%/go500gw.help"
        /* port on which to listen */
@@ -142,12 +158,13 @@ Please try again later.\r\n"
  */
        /* who to bind as */
 #define RCPT500_BINDDN         NULL
+#define RCPT500_BIND_CRED      NULL
        /* where the helpfile lives */
 #define RCPT500_HELPFILE       "%ETCDIR%/rcpt500.help"
        /* maximum number of matches returned */
 #define RCPT500_SIZELIMIT      50
        /* address replies will appear to come from */
-#define RCPT500_FROM           "\"X.500 Query Program\" <X500-Query>"
+#define RCPT500_FROM           "\"Directory Query Program\" <Dir-Query>"
        /* command that will accept an RFC822 message text on standard
           input, and send it.  sendmail -t does this nicely. */
 #define RCPT500_PIPEMAILCMD    "%SENDMAIL% -t"
@@ -166,7 +183,8 @@ Please try again later.\r\n"
  * LDAPSEARCH TOOL
  */
        /* who to bind as */
-#define LDAPSEARCH_BINDDN      NULL
+#define LDAPSEARCH_BINDDN              NULL
+#define LDAPSEARCH_BIND_CRED   NULL
        /* search base */
 #define LDAPSEARCH_BASE                DEFAULT_BASE
 
@@ -174,7 +192,8 @@ Please try again later.\r\n"
  * LDAPMODIFY TOOL
  */
        /* who to bind as */
-#define LDAPMODIFY_BINDDN      NULL
+#define LDAPMODIFY_BINDDN              NULL
+#define LDAPMODIFY_BIND_CRED   NULL
        /* search base */
 #define LDAPMODIFY_BASE                DEFAULT_BASE
 
@@ -182,7 +201,8 @@ Please try again later.\r\n"
  * LDAPDELETE TOOL
  */
        /* who to bind as */
-#define LDAPDELETE_BINDDN      NULL
+#define LDAPDELETE_BINDDN              NULL
+#define LDAPDELETE_BIND_CRED   NULL
        /* search base */
 #define LDAPDELETE_BASE                DEFAULT_BASE
 
@@ -190,7 +210,8 @@ Please try again later.\r\n"
  * LDAPMODRDN TOOL
  */
        /* who to bind as */
-#define LDAPMODRDN_BINDDN      NULL
+#define LDAPMODRDN_BINDDN              NULL
+#define LDAPMODRDN_BIND_CRED   NULL
        /* search base */
 #define LDAPMODRDN_BASE                DEFAULT_BASE
 
@@ -198,7 +219,8 @@ Please try again later.\r\n"
  * MAIL500 MAILER DEFINITIONS
  */
        /* who to bind as */
-#define MAIL500_BINDDN         NULL
+#define MAIL500_BINDDN                 NULL
+#define MAIL500_BIND_CRED                      NULL
        /* max number of ambiguous matches reported */
 #define MAIL500_MAXAMBIGUOUS   10
        /* max subscribers allowed (size limit when searching for them ) */
@@ -220,9 +242,9 @@ Please try again later.\r\n"
        /* default user to bind as */
 #define UD_BINDDN              NULL
        /* default password to bind with */
-#define UD_PASSWD              NULL
+#define UD_BIND_CRED   NULL
        /* default search base */
-#define UD_BASE                        DEFAULT_BASE
+#define UD_BASE                DEFAULT_BASE
        /* default base where groups are created */
 #define UD_WHERE_GROUPS_ARE_CREATED    ""
        /* default base below which all groups live */
@@ -232,7 +254,10 @@ Please try again later.\r\n"
  * FAX500 DEFINITIONS
  */
        /* what to bind as */
-#define FAX_BINDDN     NULL
+#define FAX_BINDDN             NULL
+#define FAX_BIND_CRED  NULL
+       /* default search base */
+#define FAX_BASE               DEFAULT_BASE
        /* how long to wait for searches */
 #define FAX_TIMEOUT            180
        /* maximum number of ambiguous matches reported */
@@ -246,7 +271,11 @@ Please try again later.\r\n"
  * RP500 DEFINITIONS
  */
        /* what to bind as */
-#define RP_BINDDN      NULL
+#define RP_BINDDN              NULL
+#define RP_BIND_CRED   NULL
+       /* default search base */
+#define RP_BASE                        DEFAULT_BASE
+
        /* prefix to add to non-fully-qualified numbers */
 #define RP_PHONEPREFIX ""
 
index 470737973d22d6b3e83cb3a4e583d4483a27af7d..53248a0987cc57aa5e758bfe7f25202f4868457a 100644 (file)
@@ -63,9 +63,3 @@ depend:       FORCE
 links:
        @$(LN) .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-avl.o: avl.c ../../include/avl.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 63c83b8784e8574457aa118f4db0846754d3e102..5ef929a01c88c4ef1c1a713dcc4ea5c72fd2ffa4 100644 (file)
@@ -74,12 +74,3 @@ depend:      FORCE
 links:
        @$(LN) .src/ldap* .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-decode.o: decode.c ../../include/proto-lber.h
-encode.o: encode.c ../../include/lber.h
-io.o: io.c ../../include/proto-lber.h
-bprint.o: bprint.c ../../include/proto-lber.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 2210efe20867e2482972bbfa515b7637fd87b28a..41c7b35c3d68849efdd68ef52cbf72f03a1c946b 100644 (file)
@@ -31,8 +31,7 @@ OBJS  = bind.o open.o result.o error.o compare.o search.o \
 HDIR   = ../../include
 
 INCLUDES= -I$(HDIR) $(KRBINCLUDEFLAG)
-DEFINES        = $(DEFS) -DFILTERFILE="\"$(LDAP_ETCDIR)/ldapfilter.conf\"" \
-       -DTEMPLATEFILE="\"$(LDAP_ETCDIR)/ldaptemplates.conf\""
+DEFINES        = $(DEFS)
 
 CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
 LIBS   = -L. -L../liblber -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
@@ -93,46 +92,3 @@ links:
        @$(LN) .src/*.[ch] .src/ldapfriendly .src/ldapfilter.conf \
                .src/ldaptemplates.conf .src/ldapsearchprefs.conf .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-bind.o: bind.c ../../include/lber.h ../../include/proto-ldap.h
-open.o: open.c ../../include/proto-lber.h ../../include/proto-ldap.h
-result.o: result.c ../../include/portable.h ../../include/proto-lber.h
-result.o: ../../include/proto-ldap.h
-error.o: error.c ../../include/lber.h ../../include/proto-ldap.h
-compare.o: compare.c ../../include/lber.h ../../include/proto-ldap.h
-search.o: search.c ../../include/lber.h ../../include/proto-ldap.h
-modify.o: modify.c ../../include/lber.h ../../include/proto-ldap.h
-add.o: add.c ../../include/lber.h ../../include/proto-ldap.h
-modrdn.o: modrdn.c ../../include/lber.h ../../include/proto-ldap.h
-delete.o: delete.c ../../include/lber.h ../../include/proto-ldap.h
-abandon.o: abandon.c ../../include/lber.h ../../include/proto-ldap.h
-ufn.o: ufn.c ../../include/lber.h ../../include/proto-ldap.h
-cache.o: cache.c ../../include/lber.h ../../include/proto-ldap.h
-getfilter.o: getfilter.c ../../include/lber.h ../../include/proto-ldap.h
-regex.o: regex.c
-sbind.o: sbind.c ../../include/lber.h ../../include/proto-ldap.h
-kbind.o: kbind.c
-unbind.o: unbind.c ../../include/proto-lber.h ../../include/proto-ldap.h
-friendly.o: friendly.c ../../include/lber.h ../../include/proto-ldap.h
-cldap.o: cldap.c
-free.o: free.c ../../include/ldap.h
-disptmpl.o: disptmpl.c ../../include/proto-lber.h ../../include/disptmpl.h
-srchpref.o: srchpref.c ../../include/proto-lber.h ../../include/srchpref.h
-dsparse.o: dsparse.c ../../include/proto-lber.h
-tmplout.o: tmplout.c ../../include/proto-lber.h ../../include/proto-ldap.h
-sort.o: sort.c ../../include/proto-lber.h ../../include/proto-ldap.h
-getdn.o: getdn.c ../../include/lber.h ../../include/proto-ldap.h
-getentry.o: getentry.c ../../include/lber.h ../../include/proto-ldap.h
-getattr.o: getattr.c ../../include/lber.h ../../include/proto-ldap.h
-getvalues.o: getvalues.c ../../include/lber.h ../../include/proto-ldap.h
-addentry.o: addentry.c ../../include/lber.h ../../include/proto-ldap.h
-request.o: request.c ../../include/portable.h ../../include/proto-lber.h
-request.o: ../../include/proto-ldap.h
-getdxbyname.o: getdxbyname.c
-os-ip.o: os-ip.c ../../include/proto-lber.h ../../include/proto-ldap.h
-url.o: url.c ../../include/lber.h ../../include/proto-ldap.h
-charset.o: charset.c
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 330527b421d8eb3301caf81c0567284bb330c8c0..c53d935757dfaec41b207b5016bab06d03844084 100644 (file)
@@ -29,6 +29,8 @@
 #include "ldap.h"
 #include "disptmpl.h"
 
+#include "ldapconfig.h"
+
 #ifdef NEEDPROTOS
 static int do_entry2text( LDAP *ld, char *buf, char *base, LDAPMessage *entry,
        struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals,
index 9596adf131dcee892fb90b5dea07a43cfd14919f..5827ca12b716e2e2fc94f7b22944176a66e6b38c 100644 (file)
@@ -29,6 +29,8 @@ static char copyright[] = "@(#) Copyright (c) 1993 Regents of the University of
 #include "lber.h"
 #include "ldap.h"
 
+#include "ldapconfig.h"
+
 #ifdef NEEDPROTOS
 typedef int (*cancelptype)( void *cancelparm );
 #else /* NEEDPROTOS */
index ac7df08700498fc4c4cbedfd057825a9c0e0ff74..4ebd4527e5075cdf688bd218e7e4cda51581c586 100644 (file)
@@ -63,9 +63,3 @@ depend:       FORCE
 links:
        @$(LN) .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-ldbm.o: ldbm.c
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 319cc51cb58f5a65e236c58700b85ac164e2b842..99c4e5be7e8efad9732f8feda0f8485e94513faa 100644 (file)
@@ -60,9 +60,3 @@ depend:       FORCE
 links:
        @$(LN) .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-line64.o: line64.c ../../include/proto-lber.h ../../include/proto-ldap.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index c0721b1890e67296e11ed369567bcb4cfef761c1..755190983bcd8c364e89c5a55663b36e854f1a7b 100644 (file)
@@ -60,10 +60,3 @@ depend:      FORCE
 links:
        @$(LN) .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-thread.o: thread.c
-stack.o: stack.c ../../include/proto-lber.h ../../include/proto-ldap.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index c615f24efd9211de2d0947bd1c35c194c85cb489..e7d5388c4faa8641266227f96b2b5b985d45b603 100644 (file)
@@ -94,29 +94,4 @@ depend:      FORCE
 
 links:
        @$(LN) .src/*.py .src/*.[ch] .
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-main.o: main.c ../../include/portable.h ../../include/lber.h
-main.o: ../../include/ldap.h common.h
-detach.o: detach.c ../../include/portable.h
-setproctitle.o: setproctitle.c
-request.o: request.c ../../include/lber.h ../../include/ldap.h common.h
-bind.o: bind.c ../../include/lber.h ../../include/ldap.h common.h
-result.o: result.c ../../include/lber.h ../../include/ldap.h common.h
-error.o: error.c ../../include/lber.h ../../include/ldap.h
-search.o: search.c ../../include/lber.h ../../include/ldap.h common.h
-util.o: util.c ../../include/lber.h ../../include/ldap.h common.h
-compare.o: compare.c ../../include/lber.h ../../include/ldap.h common.h
-message.o: message.c ../../include/lber.h ../../include/ldap.h common.h
-add.o: add.c ../../include/lber.h ../../include/ldap.h common.h
-delete.o: delete.c ../../include/lber.h ../../include/ldap.h common.h
-modrdn.o: modrdn.c ../../include/lber.h ../../include/ldap.h common.h
-modify.o: modify.c ../../include/lber.h ../../include/ldap.h common.h
-abandon.o: abandon.c ../../include/lber.h ../../include/ldap.h common.h
-syntax.o: syntax.c ../../include/lber.h ../../include/ldap.h common.h
-association.o: association.c ../../include/lber.h ../../include/ldap.h common.h
-kerberos.o: kerberos.c ../../include/lber.h ../../include/ldap.h common.h
-certificate.o: certificate.c ../../include/lber.h ../../include/ldap.h common.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+
index f151019379988fb6eecfc7a5cba57e79f369f8e7..82e6147d1bf11a06491a282ea3fa7b707b9b6dce 100644 (file)
@@ -165,83 +165,3 @@ links:
            fi; \
        done; 
 
-
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-main.o: main.c ../../include/portable.h ../../include/avl.h
-main.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldapconfig.h
-daemon.o: daemon.c ../../include/avl.h ../../include/ldap.h
-daemon.o: ../../include/lthread.h ../../include/portable.h
-connection.o: connection.c ../../include/portable.h ../../include/avl.h
-connection.o: ../../include/ldap.h ../../include/lthread.h
-search.o: search.c ../../include/proto-lber.h ../../include/proto-ldap.h
-search.o: ../../include/ldif.h
-filter.o: filter.c ../../include/proto-lber.h ../../include/proto-ldap.h
-filter.o: ../../include/ldif.h
-add.o: add.c ../../include/avl.h ../../include/ldap.h
-add.o: ../../include/proto-ldap.h ../../include/ldif.h
-charray.o: charray.c ../../include/proto-lber.h ../../include/proto-ldap.h
-charray.o: ../../include/ldif.h
-attr.o: attr.c ../../include/proto-lber.h ../../include/proto-ldap.h
-attr.o: ../../include/ldif.h
-entry.o: entry.c ../../include/avl.h ../../include/ldap.h
-entry.o: ../../include/lthread.h
-config.o: config.c ../../include/proto-lber.h ../../include/proto-ldap.h
-config.o: ../../include/ldif.h
-backend.o: backend.c ../../include/avl.h ../../include/ldap.h
-backend.o: ../../include/lthread.h
-result.o: result.c ../../include/portable.h ../../include/avl.h
-result.o: ../../include/ldap.h ../../include/lthread.h
-operation.o: operation.c ../../include/proto-lber.h ../../include/proto-ldap.h
-operation.o: ../../include/ldif.h
-dn.o: dn.c ../../include/portable.h ../../include/avl.h ../../include/ldap.h
-dn.o: ../../include/lthread.h
-compare.o: compare.c ../../include/avl.h ../../include/ldap.h
-compare.o: ../../include/lthread.h
-modify.o: modify.c ../../include/avl.h ../../include/ldap.h
-modify.o: ../../include/proto-ldap.h ../../include/ldif.h
-delete.o: delete.c ../../include/proto-lber.h ../../include/proto-ldap.h
-delete.o: ../../include/ldif.h
-modrdn.o: modrdn.c ../../include/proto-lber.h ../../include/proto-ldap.h
-modrdn.o: ../../include/ldif.h
-ch_malloc.o: ch_malloc.c ../../include/avl.h ../../include/ldap.h
-ch_malloc.o: ../../include/lthread.h
-value.o: value.c ../../include/portable.h ../../include/avl.h
-value.o: ../../include/ldap.h ../../include/lthread.h
-ava.o: ava.c ../../include/proto-lber.h ../../include/proto-ldap.h
-ava.o: ../../include/ldif.h
-bind.o: bind.c ../../include/proto-lber.h ../../include/proto-ldap.h
-bind.o: ../../include/ldif.h
-unbind.o: unbind.c ../../include/avl.h ../../include/ldap.h
-unbind.o: ../../include/lthread.h
-abandon.o: abandon.c ../../include/avl.h ../../include/ldap.h
-abandon.o: ../../include/lthread.h
-filterentry.o: filterentry.c ../../include/proto-lber.h
-filterentry.o: ../../include/proto-ldap.h ../../include/ldif.h
-phonetic.o: phonetic.c ../../include/portable.h ../../include/avl.h
-phonetic.o: ../../include/ldap.h ../../include/lthread.h
-regex.o: regex.c
-acl.o: acl.c slap.h ../../include/proto-lber.h ../../include/proto-ldap.h
-acl.o: ../../include/ldif.h
-str2filter.o: str2filter.c ../../include/avl.h ../../include/ldap.h
-str2filter.o: ../../include/lthread.h
-aclparse.o: aclparse.c slap.h ../../include/proto-lber.h
-aclparse.o: ../../include/proto-ldap.h ../../include/ldif.h
-init.o: init.c ../../include/portable.h ../../include/avl.h
-init.o: ../../include/ldap.h ../../include/lthread.h
-detach.o: detach.c
-strdup.o: strdup.c
-tempnam.o: tempnam.c
-repl.o: repl.c ../../include/proto-lber.h ../../include/lthread.h
-lock.o: lock.c ../../include/avl.h ../../include/ldap.h ../../include/lthread.h
-schema.o: schema.c ../../include/proto-lber.h ../../include/proto-ldap.h
-schema.o: ../../include/ldif.h
-schemaparse.o: schemaparse.c ../../include/avl.h ../../include/ldap.h
-schemaparse.o: ../../include/lthread.h
-monitor.o: monitor.c ../../include/avl.h ../../include/ldap.h
-monitor.o: ../../include/proto-ldap.h ../../include/ldif.h
-configinfo.o: configinfo.c ../../include/avl.h ../../include/ldap.h
-configinfo.o: ../../include/lthread.h ../../include/ldapconfig.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 52a36db245dd49b6bd86258399b6a958c0c97c5f..ae809e5892eb47c85931249e665d47e2670b191e 100644 (file)
@@ -69,63 +69,4 @@ depend:      FORCE
 
 links:
        @$(LN) .src/*.[ch] .
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
 
-idl.o: idl.c ../../../include/avl.h ../../../include/proto-lber.h
-idl.o: ../../../include/proto-ldap.h ../../../include/ldif.h back-ldbm.h
-add.o: add.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-add.o: ../../../include/ldif.h ../../../include/ldbm.h
-search.o: search.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-search.o: ../../../include/ldif.h ../../../include/ldbm.h
-cache.o: cache.c ../../../include/avl.h ../../../include/proto-lber.h
-cache.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-cache.o: ../../../include/ldbm.h
-dbcache.o: dbcache.c ../../../include/portable.h ../../../include/avl.h
-dbcache.o: ../../../include/proto-lber.h ../../../include/proto-ldap.h
-dbcache.o: ../../../include/ldif.h back-ldbm.h
-dn2id.o: dn2id.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-dn2id.o: ../../../include/ldif.h ../../../include/ldbm.h
-id2entry.o: id2entry.c ../../../include/avl.h ../../../include/proto-lber.h
-id2entry.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-id2entry.o: ../../../include/ldbm.h
-index.o: index.c ../../../include/avl.h ../../../include/proto-lber.h
-index.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-index.o: ../../../include/ldbm.h
-id2children.o: id2children.c ../../../include/proto-lber.h
-id2children.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-id2children.o: ../../../include/ldbm.h
-nextid.o: nextid.c ../../../include/avl.h ../../../include/proto-lber.h
-nextid.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-nextid.o: ../../../include/ldbm.h
-abandon.o: abandon.c
-compare.o: compare.c ../../../include/proto-lber.h
-compare.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-compare.o: ../../../include/ldbm.h
-modify.o: modify.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-modify.o: ../../../include/ldif.h ../../../include/ldbm.h
-modrdn.o: modrdn.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-modrdn.o: ../../../include/ldif.h ../../../include/ldbm.h
-delete.o: delete.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-delete.o: ../../../include/ldif.h ../../../include/ldbm.h
-init.o: init.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-init.o: ../../../include/ldif.h ../../../include/ldbm.h
-config.o: config.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-config.o: ../../../include/ldif.h ../../../include/ldbm.h
-bind.o: bind.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-bind.o: ../../../include/ldif.h ../../../include/ldbm.h
-attr.o: attr.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-attr.o: ../../../include/ldif.h ../../../include/ldbm.h
-filterindex.o: filterindex.c ../../../include/avl.h
-filterindex.o: ../../../include/proto-lber.h ../../../include/proto-ldap.h
-filterindex.o: ../../../include/ldif.h ../../../include/ldbm.h
-unbind.o: unbind.c ../../../include/avl.h ../../../include/proto-lber.h
-unbind.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-kerberos.o: kerberos.c ../../../include/proto-lber.h
-kerberos.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-kerberos.o: ../../../include/ldbm.h
-close.o: close.c ../../../include/avl.h ../../../include/proto-lber.h
-close.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-close.o: ../../../include/ldbm.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 6283b10fe9a64b621d74070d393807ad67ed5a23..0de089de553a2829e9e6db886aac63cd9fb0718b 100644 (file)
@@ -65,13 +65,4 @@ depend:      FORCE
 
 links:
        @$(LN) .src/*.[ch] .
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
 
-search.o: search.c ../../../include/portable.h ../../../include/avl.h
-search.o: ../../../include/proto-lber.h ../../../include/proto-ldap.h
-search.o: ../../../include/ldif.h
-config.o: config.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-config.o: ../../../include/ldif.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index b72d05efe0998101cbc3a87799f361e27daa096b..8179e1da5d50aff638a5f3f349dccf24be65121d 100644 (file)
@@ -67,34 +67,4 @@ depend:      FORCE
 
 links:
        @$(LN) .src/*.[ch] .
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
 
-init.o: init.c ../../../include/avl.h ../../../include/proto-lber.h
-init.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-config.o: config.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-config.o: ../../../include/ldif.h
-fork.o: fork.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-fork.o: ../../../include/ldif.h
-search.o: search.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-search.o: ../../../include/ldif.h
-bind.o: bind.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-bind.o: ../../../include/ldif.h
-unbind.o: unbind.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-unbind.o: ../../../include/ldif.h
-add.o: add.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-add.o: ../../../include/ldif.h
-delete.o: delete.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-delete.o: ../../../include/ldif.h
-modify.o: modify.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-modify.o: ../../../include/ldif.h
-modrdn.o: modrdn.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-modrdn.o: ../../../include/ldif.h
-compare.o: compare.c ../../../include/proto-lber.h
-compare.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-abandon.o: abandon.c ../../../include/avl.h ../../../include/proto-lber.h
-abandon.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-result.o: result.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-result.o: ../../../include/ldif.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 473c30dacdb497a800c94fedb260b01ec1448fcb..c4c1f36c49aa7fe0e25d810b1cd18f0c779ca515 100644 (file)
@@ -60,7 +60,3 @@ depend:       FORCE
 links:
        @$(LN) .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index c7c83bc7d593d809c5b4a2fa9fe7495f9934a96d..b4bd65f46063d5eb7cd584c8e57b0b8ee7a15d25 100644 (file)
@@ -157,48 +157,17 @@ clean:    FORCE
        @echo "making clean in `$(PWD)`"
        $(RM) edb2ldif ldif2index *.o core a.out edb2-vers.c \
                ldif2ldbm ldif2id2entry ldif2id2children ldbmcat ldif \
-               centipede chlog2replog sizecount ldif2ldbm.sed.c ldbmtest
+               centipede chlog2replog sizecount ldbmtest
 
-depend:        ldif2ldbm.sed.c FORCE
+depend:        FORCE
        @if [ ! -z "$(HAVEISODE)" ]; then \
            DEPENDEXTRAS="$(ISODEINCLUDEFLAG) chlog2replog.c $(EDB2LDIFSRCS)"; \
        fi; \
        $(MKDEP) $(INCLUDES) $(DEFINES) $$DEPENDEXTRAS ldif2index.c \
            ldif2ldbm.c ldif2id2entry.c ldif2id2children.c ldbmcat.c \
-           centipede.c sizecount.c ldif2ldbm.sed.c ldbmtest.c ldif.c
+           centipede.c sizecount.c ldbmtest.c ldif.c
 
 links:
        @echo "making links in `$(PWD)`"
        @$(LN) .src/*.[ch] .
 
-
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-ldif2index.o: ldif2index.c ../../../include/avl.h ../../../include/proto-lber.h
-ldif2index.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-ldif2ldbm.o: ldif2ldbm.c ../../../include/proto-lber.h
-ldif2ldbm.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-ldif2ldbm.o: ../../../include/ldbm.h
-ldif2id2entry.o: ldif2id2entry.c ../../../include/avl.h
-ldif2id2entry.o: ../../../include/proto-lber.h ../../../include/proto-ldap.h
-ldif2id2entry.o: ../../../include/ldif.h ../../../include/ldbm.h
-ldif2id2children.o: ldif2id2children.c ../../../include/avl.h
-ldif2id2children.o: ../../../include/proto-lber.h ../../../include/proto-ldap.h
-ldif2id2children.o: ../../../include/ldif.h ../../../include/ldbm.h
-ldbmcat.o: ldbmcat.c ../../../include/proto-lber.h
-ldbmcat.o: ../../../include/proto-ldap.h ../../../include/ldif.h
-centipede.o: centipede.c ../../../include/proto-lber.h
-centipede.o: ../../../include/proto-ldap.h ../../../include/ldbm.h
-sizecount.o: sizecount.c ../../../include/lber.h ../../../include/ldap.h
-sizecount.o: ../../../include/proto-ldap.h
-ldif2ldbm.sed.o: ldif2ldbm.sed.c ../../../include/avl.h
-ldif2ldbm.sed.o: ../../../include/proto-lber.h ../../../include/proto-ldap.h
-ldif2ldbm.sed.o: ../../../include/ldif.h ../../../include/ldbm.h
-ldbmtest.o: ldbmtest.c ../../../include/ldapconfig.h ../../../include/avl.h
-ldbmtest.o: ../../../include/proto-lber.h ../../../include/proto-ldap.h
-ldbmtest.o: ../../../include/ldif.h ../../../include/ldbm.h
-ldbmtest.o: ../back-ldbm/proto-back-ldbm.h
-ldif.o: ldif.c ../../../include/proto-lber.h ../../../include/proto-ldap.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
index 6d57327b5c57e6b2a7b3e910ab6cbd55d2dafdb6..c1136575e81f806641544d0428e25e72440a9a21 100644 (file)
@@ -78,45 +78,3 @@ links:
        @echo "making links in `$(PWD)`"
        @$(LN) .src/*.[ch] .
 
-# DO NOT DELETE THIS LINE -- mkdep uses it.
-# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
-
-admin.o: admin.c ../../include/lber.h ../../include/proto-ldap.h
-admin.o: ../../include/portable.h ../../include/ldif.h
-args.o: args.c ../../include/lber.h ../../include/proto-ldap.h
-args.o: ../../include/lthread.h ../../include/ldapconfig.h
-ch_malloc.o: ch_malloc.c ../../include/avl.h ../../include/ldap.h
-ch_malloc.o: ../../include/lthread.h
-config.o: config.c ../../include/lber.h ../../include/proto-ldap.h
-config.o: ../../include/lthread.h ../../include/ldapconfig.h
-detach.o: detach.c
-fm.o: fm.c ../../include/lber.h ../../include/proto-ldap.h
-fm.o: ../../include/portable.h ../../include/ldif.h
-globals.o: globals.c ../../include/lber.h ../../include/proto-ldap.h
-globals.o: ../../include/portable.h ../../include/ldif.h
-ldap_op.o: ldap_op.c ../../include/proto-lber.h ../../include/proto-ldap.h
-ldap_op.o: ../../include/lthread.h ../../include/ldif.h
-lock.o: lock.c ../../include/portable.h ../../include/avl.h
-lock.o: ../../include/ldap.h ../../include/lthread.h
-main.o: main.c ../../include/lber.h ../../include/proto-ldap.h
-main.o: ../../include/portable.h ../../include/ldif.h
-re.o: re.c ../slapd/slap.h ../../include/lber.h ../../include/proto-ldap.h
-re.o: ../../include/ldif.h ../../include/portable.h
-reject.o: reject.c ../../include/lber.h ../../include/proto-ldap.h
-reject.o: ../../include/portable.h ../../include/ldif.h
-replica.o: replica.c ../../include/lber.h ../../include/proto-ldap.h
-replica.o: ../../include/portable.h ../../include/ldif.h
-replog.o: replog.c ../../include/portable.h ../../include/proto-lber.h
-replog.o: ../../include/proto-ldap.h ../../include/ldapconfig.h
-ri.o: ri.c ../../include/lber.h ../../include/proto-ldap.h
-ri.o: ../../include/portable.h ../../include/ldif.h
-rq.o: rq.c ../../include/lber.h ../../include/proto-ldap.h
-rq.o: ../../include/portable.h ../../include/ldif.h
-sanity.o: sanity.c ../../include/lber.h ../../include/proto-ldap.h
-sanity.o: ../../include/portable.h ../../include/ldif.h
-st.o: st.c ../../include/lber.h ../../include/proto-ldap.h
-st.o: ../../include/portable.h ../../include/ldif.h
-tsleep.o: tsleep.c ../../include/lber.h ../../include/proto-ldap.h
-tsleep.o: ../../include/portable.h ../../include/ldif.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY