+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright 1998 The OpenLDAP Foundation, Redwood City, California, USA
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted only
-# as authorized by the OpenLDAP Public License. A copy of this
-# license is available at http://www.OpenLDAP.org/license.html or
-# in file LICENSE in the top-level directory of the distribution.
-#
-# This work is derived from the University of Michigan LDAP v3.3
-# distribution. Information concerning is available at
-# http://www.umich.edu/~dirsvcs/ldap/ldap.html.
-#
-# This work also contains materials derived from public sources.
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#-----------------------------------------------------------------------------
-# LDAP common Make defines (included in all but top-level Makefile)
-
-#############################################################################
-## Edit the following variables to have appropriate values for your system ##
-#############################################################################
-
-#
-# This template should be used by systems with Gnu Make.
-#
-# If Gnu make is not installed as make, you must uncomment out
-# this line.
-#MAKE=gmake
-
-#############################################################################
-## LDAP install paths ##
-#############################################################################
-# by default, everything is installed below INSTROOT
-# config files, etc. are put in ETCDIR
-# include files get put in INCLUDEDIR
-# libraries are put in LIBDIR
-# man pages are put under MANDIR
-# programs end-users will run are put in BINDIR
-# programs sysadmins will run are put in SBINDIR
-# servers are put in LIBEXECDIR
-# pid/args files are put in RUNDIR
-#
-# Per platform defaults override these.
-#
-ifndef LDAP_PREFIX
-LDAP_PREFIX= /usr/local
-endif
-ifndef LDAP_INSTROOT
-LDAP_INSTROOT= $(LDAP_PREFIX)
-endif
-ifndef LDAP_ETCDIR
-LDAP_ETCDIR= $(LDAP_INSTROOT)/etc/ldap
-endif
-ifndef LDAP_INCDIR
-LDAP_INCDIR= $(LDAP_INSTROOT)/include
-endif
-ifndef LDAP_LIBDIR
-LDAP_LIBDIR= $(LDAP_INSTROOT)/lib
-endif
-ifndef LDAP_MANDIR
-LDAP_MANDIR= $(LDAP_INSTROOT)/man
-endif
-ifndef LDAP_BINDIR
-LDAP_BINDIR= $(LDAP_INSTROOT)/bin
-endif
-ifndef LDAP_SBINDIR
-LDAP_SBINDIR=$(LDAP_INSTROOT)/sbin
-endif
-ifndef LDAP_LIBEXECDIR
-LDAP_LIBEXECDIR= $(LDAP_INSTROOT)/libexec
-endif
-ifndef LDAP_RUNDIR
-LDAP_RUNDIR= $(LDAP_ETCDIR)
-endif
-
-#############################################################################
-## General compiler options ##
-#############################################################################
-# Passed to every compile (cc or gcc). This is where you put -O or -g, etc.
-#EXTRACFLAGS=-O -g
-#EXTRACFLAGS=-O
-ifndef EXTRACFLAGS
-EXTRACFLAGS?=-g
-endif
-# Passed to every link (ld). Include -g here if you did in EXTRACFLAGS.
-ifndef EXTRALDFLAGS
-EXTRALDFLAGS=-g
-endif
-
-#############################################################################
-## If you are NOT using Kerberos authentication, you can skip this section.##
-#############################################################################
-#
-# Otherwise, to enable kerberos authentication, uncomment KERBEROS (and
-# AFSKERBEROS if you are running the AFS version of kerberos). Also
-# uncomment and change the various KRB* lines to point to where the
-# kerberos libraries and include files are installed at your site.
-#
-# *** NOTE ***
-# If you have an MIT Kerberos V distribution and you compiled it with -krb4
-# flag which enables Kerberos IV compatibility, uncomment KERBEROS_V -
-# this will make sure all your includes can be found where they actually are -
-# in this case /usr/local/kerberos/include/kerberosIV - simple change of
-# KRBINCLUDEFLAG will _not_ work. Also uncomment the correct KRBLIBS define.
-#
-# For Kerberos V with Kerberos IV compatibility uncomment the following line
-#KERBEROS=-DKERBEROS -DKERBEROS_V
-# For Kerberos IV uncomment the following line
-#KERBEROS=-DKERBEROS
-#
-#AFSKERBEROS=-DAFSKERBEROS
-#KRBINCLUDEFLAG = -I/usr/local/kerberos/include
-#KRBLIBFLAG = -L/usr/local/kerberos/lib
-# For Kerberos V with Kerberos IV compatibility uncomment the following line
-#KRBLIBS = -lkrb4 -lkrb5 -ldes425
-# For Kerberos IV uncomment the following line
-#KRBLIBS = -lkrb -ldes
-
-#############################################################################
-## ISODE is required ONLY to build the ldap <-> X.500 server (ldapd) ##
-## If you don't want to build it, you can skip this section. ##
-#############################################################################
-#
-# To build the ldap server, uncomment the HAVEISODE line,
-# and the section describing build settings for your version of isode.
-#
-#HAVEISODE = yes
-# If you compiled ISODE with TURBO_DISK defined, uncomment this
-#ISODETURBOLIBS = -lgdbm
-# uncomment these to have ldapd "pretty print" protocol elements w/debugging
-#PEPSY_DUMP=-DPEPSY_DUMP
-#PEPSY=/usr/local/ic/bin/pepsy
-# uncommment this line to have ldapd load PP syntax handlers
-# you'll also need to add -lpp to ISODEBASELIBS below
-#LDAP_USE_PP=-DLDAP_USE_PP
-# uncomment NO_SETPROCTITLE to have ldapd NOT change its title
-#NO_SETPROCTITLE=-DNOSETPROCTITLE
-#
-# ISODE Consortium release build settings
-# You should change the next line so that ICRELEASE matches the (integer)
-# version number of whatever IC release you have, e.g. 1, 2, or 3 and
-# also uncomment the next 5 lines.
-#ICRELEASE=-DICRELEASE=1
-#ISODEPACKAGE=-DISODEPACKAGE=IC
-#ISODEINCLUDEFLAG= -I/usr/local/ic/include/isode -I/usr/local/ic/include
-#ISODELIBFLAG = -L/usr/local/ic/lib
-#ISODEBASELIBS = -lisode
-#
-# Freely available ISODE 8.0 release build settings (uncomment the next 4 lines)
-#ISODEPACKAGE=-DISODEPACKAGE
-#ISODEINCLUDEFLAG= -I/usr/local/isode/include
-#ISODELIBFLAG = -L/usr/local/isode/lib
-#ISODEBASELIBS = -ldsap -lisode
-#
-# NEXOR ISODE release build settings (uncomment the next 4 lines)
-#ISODEPACKAGE=-DISODEPACKAGE=XT
-#ISODEINCLUDEFLAG= -I/usr/include/isode
-#ISODELIBFLAG = -L/usr/local/lib -L/usr/sunlink/osi/lib
-#ISODEBASELIBS = -lxtpp -lresolv -lxtdsap -lxtisode -losi
-
-#############################################################################
-## If you don't want to run slapd, skip this section. ##
-#############################################################################
-#
-# To build slapd (the stand-alone ldap daemon), uncomment the MAKESLAPD
-# line and select the SLAPD_BACKENDS you want to use. If you enable the
-# LDBM backend, also select one of the LDBM backends.
-MAKESLAPD= yes
-#
-# remove the defines for backends you don't want to enable
-SLAPD_BACKENDS= -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
-#
-# If you have included -DLDAP_LDBM in the SLAPD_BACKENDS line,
-# which low-level database package to use must be specified. You
-# may want to overide the platform settings by disabling the lines
-# below and hardcoding the desired settings.
-#
-# The four choices: Berkeley db b-tree, Berkeley db hash, GNU dbm, or ndbm.
-# You will also need to edit the include and lib strings appropriately.
-# standard unix ndbm
-
-# Fallback settings, defaults are set in build/*/Make-platform
-# The NDBM interface may not work on some (any) platforms.
-# You may be happier with Berkeley DB B-trees.
-ifndef LDBMBACKEND
-LDBMBACKEND=-DLDBM_USE_NDBM
-endif
-ifndef LDBMINCLUDE
-LDBMINCLUDE=
-endif
-ifndef LDBMLIB
-LDBMLIB=
-endif
-
-# LDBM Hardcode Setting Examples (may require editing)
-# berkeley db btree package
-#LDBMLIB=-ldb
-#LDBMBACKEND=-DLDBM_USE_DBBTREE
-#LDBMINCLUDE=-I/usr/local/db/include
-#LDBMLIB?=-ldb
-# berkeley db hash package
-#LDBMBACKEND=-DLDBM_USE_DBHASH
-#LDBMINCLUDE=-I/usr/local/db/include
-#LDBMLIB=-ldb
-# gnu dbm (gdbm)
-#LDBMBACKEND=-DLDBM_USE_GDBM
-#LDBMINCLUDE=-I/usr/local/gdbm/include
-#LDBMLIB=-lgdbm
-
-#undef these if you have SleepyCat DB2 installed the updated DBI
-#LDBMBACKEND=-DLDBM_USE_DBBTREE -DLDBM_USE_DB2
-#LDBMINCLUDE=-I/usr/local/include
-#LDBMLIB=-L/usr/local/lib -ldb
-
-#undef these if you have SleepyCat DB2 installed (with compat185)
-#LDBMBACKEND=-DLDBM_USE_DBBTREE -DLDBM_USE_DB2_COMPAT185
-#LDBMINCLUDE=-I/usr/local/include
-#LDBMLIB=-L/usr/local/lib -ldb
-
-# if you want to use a non-default threads package change the defines below
-# to one of:
-# -DPOSIX_THREADS (draft 10 or standard)
-# -DTHREAD_MIT_PTHREADS (draft 4)
-# -DTHREAD_NEXT_CTHREADS
-# -DTHREAD_DCE_PTHREADS
-# -DTHREAD_SUNOS4_LWP
-# -DTHREAD_SUNOS5_LWP
-# and select the appropriate library.
-
-ifndef THREADS
-THREADS=-DNO_THREADS
-endif
-ifndef THREADSLIB
-THREADSLIB=
-endif
-
-# Locations of auxilary programs
-# (excepts to below are generally defined in Make-platform)
-ifndef LDAP_SENDMAIL
-LDAP_SENDMAIL=/usr/lib/sendmail
-endif
-ifndef LDAP_EDITOR
-LDAP_EDITOR=/usr/ucb/vi
-endif
-ifndef LDAP_FINGER
-LDAP_FINGER=/usr/ucb/finger
-endif
-
-# For generation of compressed man pages
-# (excepts to below are generally defined in Make-platform)
-ifndef MANCOMPRESS
-MANCOMPRESS=cat
-endif
-ifndef MANCOMPRESSSUFFIX
-MANCOMPRESSSUFFIX=
-endif
-
-#############################################################################
-## The following options are used by the xax500 client. If you haven't ##
-## retrieved the xax500 source and dropped it into the "clients" ##
-## directory, you can skip this section. ##
-#############################################################################
-#
-# location of your X include files
-#XINCLUDES= -I/usr/X11/include
-#
-# location of your X libraries
-#XLIBDIRS=-L/usr/X11/lib
-#
-# include any extra X libraries you need here
-# the following works with sunos 4 and X11R5
-#XLIBS = $(XLIBDIRS) -lXm -lXt -lX11
-# the following has been known to work with Solaris 2.4 and X11R6
-#XLIBS = $(XLIBDIRS) -lXm -lXext -lSM -lICE -lXpm -lXt -lX11
-
-#############################################################################
-## If you don't want to do auto-translation of character sets, skip this ##
-#############################################################################
-#
-# Otherwise, uncomment this line and set the following options.
-#STR_TRANSLATION=-DSTR_TRANSLATION
-#
-# remove the defines for LDAP client library T.61 character translation
-# you do not need. If you use LDAP_CHARSET_8859, replace the '1' in "88591"
-# with the number of the particular character set you use. E.g., use "88594"
-# if you use the ISO 8859-4 chracter set.
-#LIBLDAP_CHARSETS=-DLDAP_CHARSET_8859="88591"
-#
-# uncomment one these lines to enable automatic T.61 translation by default
-#LIBLDAP_DEF_CHARSET=-DLDAP_DEFAULT_CHARSET=LDAP_CHARSET_8859
-
-#############################################################################
-## General options ##
-#############################################################################
-# uncomment this line to enable debugging code (a good idea)
-LDAP_DEBUG=-DLDAP_DEBUG
-
-# uncomment this line to turn on a few U of Michigan specific things
-#UOFM=-DUOFM
-
-# uncomment this line to delete a few printfs in the lber and ldap libraries.
-#NO_USERINTERFACE=-DNO_USERINTERFACE
-
-# uncomment this line to include Connectionless LDAP support
-#CLDAP=-DCLDAP
-
-# uncomment this line to eliminate local caching support in the libldap
-#NO_CACHE=-DNO_CACHE
-
-# uncomment this line to do reverse lookups (useful for doing ACLs
-# by host/domain names)
-LDAP_REVERSE_LOOKUP=-DREVERSE_LOOKUP
-
-# uncomment this line to enable support for LDAP referrals in libldap
-LDAP_REFERRALS=-DLDAP_REFERRALS
-
-# uncomment this line to enable ACL by groups
-# LDAP_ACLGROUP=-DACLGROUP
-
-# uncomment these lines to enable support for CRYPT, SHA1, and/or MD5 passwords
-# in LDBM. Crypt uses platform provided crypt(3).
-# LDAP_CRYPT=-DLDAP_CRYPT -DLDAP_SHA1 -DLDAP_MD5
-# LDAP_CRYPT_LIB=
-# and comment this line out
-LDAP_CRYPT_LIB=
-
-# uncomment these lines to enable support fro tcp_wrappers in servers.
-# Requires tcp_wrappers.
-# LDAP_TCP_WRAPPERS=-DTCP_WRAPPERS -I/usr/local/include
-# LDAP_TCP_WRAPPERS_LIB=-L/usr/local/lib -lwrap
-
-# uncomment this line to use soundex for approximate matches in slapd.
-# the default is to use the metaphone algorithm.
-#PHONETIC=-DSOUNDEX
+++ /dev/null
-#
-# Do NOT edit this file -- it is automatically appended to all Makefiles
-# except the LDAP top-level Makefile. See the LDAP INSTALL file for more
-# information.
-#
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP standard Make defines (appended to all but top-level Makefile)
-#
-#-----------------------------------------------------------------------------
-
-# DEFS are included in CFLAGS
-DEFS = $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
- $(UOFM) $(UOFA) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) \
- $(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
- $(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
- $(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC)
-
-# SERVERDEFS are added to server builds CFLAGS (in addition to DEFS)
-SERVERDEFS = $(ISODEPACKAGE) $(ICRELEASE) $(LDAP_USE_PP) \
- $(NO_SETPROCTITLE) $(PEPSY_DUMP)
-
-#
-# ISODELIBS are used in server/ldapd builds
-#
-ISODELIBS = $(ISODEBASELIBS) -lm $(ISODETURBOLIBS)
-
-# ACFLAGS are added to CFLAGS but not passed to mkdep, lint, etc
-ACFLAGS = $(EXTRACFLAGS) $(UNPROTOCFLAGS)
-
-# ALDFLAGS are always placed near the beginning of all linker (cc -o) commands
-ALDFLAGS = $(EXTRALDFLAGS) $(PLATFORMLDFLAGS)
-
-# ALIBS are always placed at the end of all linker (cc -o) commands
-ALIBS = $(PLATFORMLIBS)
-
-#
-# default definitions for Unix utilities (may be over-ridden in Make-platform)
-CC = cc
-MAKE = make
-RANLIB = ranlib
-AR = ar
-RM = rm -f
-MV = mv -f
-CP = cp
-CHMOD = chmod
-CAT = cat
-LN = ln -s
-HARDLN = ln
-TAIL = tail
-SED = sed
-LINT = lint
-5LINT = lint
-MKDIR = mkdir
-INSTALL = install
-INSTALLFLAGS = -c
-BASENAME= basename
-DIRNAME = dirname
-MKDEP = $(LDAPSRC)/build/mkdep -s -f Make-template
-PWD = pwd
-DATE = date
-HOSTNAME= hostname
-
-
-#
-# empty target used to force rules to be invoked
-#
-FORCE:
-
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP buildtools makefile
-#
-#-----------------------------------------------------------------------------
-
-all: FORCE
- @if [ ! -z "$(NEEDUNPROTO)" ]; then \
- cd unproto; $(MAKE) $(MFLAGS) CC=$(CC); \
- else \
- exit 0; \
- fi
-
-install: FORCE
-
-clean:
- cd unproto; $(MAKE) $(MFLAGS) clean
- cd platforms; $(MAKE) $(MFLAGS) clean
-
-veryclean:
- cd unproto; $(MAKE) $(MFLAGS) clean
- cd platforms; $(MAKE) $(MFLAGS) veryclean
-
-links:
- @echo "making links in `$(PWD)`"; \
- $(LN) .src/version .src/platforms .src/Make-append .src/install.sh . ; \
- ( $(MKDIR) unproto; cd unproto; $(LN) ../.src/unproto .src; \
- $(LN) .src/Makefile .src/*.[ch] . )
-
+++ /dev/null
-#
-# You should NOT need to edit this file at all: if you just type make
-# in this directory, LDAP will be built for this platform using this
-# compiler. If you type make links a build area will be created for
-# you under ./obj. You should # cd in there and edit the Make-common file
-# before building. See the LDAP INSTALL file for more information.
-#
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP lightweight X.500 Directory access platform setup makefile
-#
-#-----------------------------------------------------------------------------
-#
-############################################################################
-# #
-# You should not have to edit anything in this file #
-# #
-############################################################################
-LN=ln -s
-RM=rm -f
-SED=sed
-PWD=pwd
-
-LDAPSRC= ../../..
-
-all: platform
- ( cd $(LDAPSRC); $(MAKE) $(MFLAGS) )
-
-install: platform
- ( cd $(LDAPSRC); $(MAKE) $(MFLAGS) install )
-
-platform: FORCE
- @PWD=`$(PWD)`; \
- PLATFORMCC=`basename $$PWD`; \
- PLATFORM=`echo $$PLATFORMCC | $(SED) 's/-.*$$//'`; \
- CC=`echo $$PLATFORMCC | $(SED) 's/^.*-//'`; \
- echo "** Setting platform to $$PLATFORM and compiler $$CC"; \
- ( cd $(LDAPSRC); \
- $(RM) .make-platform; \
- $(LN) build/platforms/$$PLATFORMCC/Make-platform .make-platform )
-
-links: FORCE
- @PWD=`$(PWD)`; \
- PLATFORMCC=`basename $$PWD`; \
- DEST=./obj-$$PLATFORMCC; \
- PLATFORM=`echo $$PLATFORMCC | $(SED) 's/-.*$$//'`; \
- CC=`echo $$PLATFORMCC | $(SED) 's/^.*-//'`; \
- echo "** Setting platform to $$PLATFORM and compiler $$CC"; \
- ( cd $(LDAPSRC); $(MAKE) $(MFLAGS) DEST=$$DEST links; \
- cd $$DEST; \
- $(LN) .src/build/platforms/$$PLATFORMCC/Make-platform .make-platform ); \
- $(LN) $(LDAPSRC)/$$DEST .
-
-clean: FORCE
-
-veryclean:
- -$(RM) -r ./obj-*
-
-FORCE:
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP build/platforms Makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-all: FORCE
-
-
-install: FORCE
-
-clean: FORCE
- @echo "making clean in `pwd`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
- ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
- fi; \
- done
-
-veryclean: FORCE
- @echo "making veryclean in `pwd`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) veryclean"; \
- ( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
- fi; \
- done
-
-FORCE:
-
+++ /dev/null
-#
-# LDAP AIX standard cc Make-platform file
-#
-
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-
-# install with BSD semantics
-INSTALL=/usr/ucb/install
-
-PLATFORMCFLAGS= -Daix
+++ /dev/null
-#
-# LDAP AIX standard cc Make-platform file
-#
-
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC = gcc
-
-# install with BSD commandline
-INSTALL=/usr/ucb/install
-
-PLATFORMCFLAGS= -Daix
+++ /dev/null
-#
-# LDAP FreeBSD GNU C Make-platform file
-#
-
-
-#
-# add any platform-specific overrides below here
-#
-EXTRACFLAGS=-O -g
-LDBMBACKEND=-DLDBM_USE_DBBTREE
-LDBMINCLUDE=-I/usr/include
-
-EDITOR=/usr/bin/vi
-FINGER=/usr/bin/finger
-SENDMAIL=/usr/sbin/sendmail
-
-LDAP_RUNDIR=/var/run
-
-MANCOMPRESS=gzip
-MANCOMPRESSSUFFIX=.gz
-
-# On most (if not all) 2.X versions of FreeBSD, Pthread(3) is not
-# installed by default. As such, -DNO_THREADS is used by default
-# on FreeBSD 2.X.
-#
-# FreeBSD 2.2.5 comes with a Chris Provenzano Pthreads
-# package, # but it must be manually built. See pthread(3) for details.
-# OpenLDAP is compatible with this version, uncomment the following
-# options:
-#
-#THREADS= -DPOSIX_THREADS -D_THREAD_SAFE \
-# -DPTHREAD_PREEMPTIVE -DSCHED_YIELD_MISSING
-#THREADSLIB= -lc_r
-#
-# Some versions of FreeBSD support the gcc option "-pthread" to
-# link with -lc_r. On those systems, uncomment the following:
-#THREADSLIB= -pthread
-#
-#
-# If the only thread package available is only Draft 4 compliant,
-# you can try the following:
-#THREADS= -DTHREAD_MIT_PTHREADS -D_THREAD_SAFE -DPTHREAD_PREEMPTIVE
-#
-# Note:
-# LDAP has a problem with the idea of implicit vs. explicit yields
-# in call conversion threading packages, like the MIT pthreads
-# package. Rather than resolve this globally, I (Terry Lambert) have
-# marked the threading as "preeemptive", even though it is
-# technically not.
-# This means that the implicit-yield threading is topologically
-# equivalent to preemptive threading.
-
-# crypt(3) is in a separate library
-LDAP_CRYPT_LIB= -lcrypt
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC = gcc
-PLATFORMCFLAGS= -Dfreebsd
+++ /dev/null
-#
-# LDAP FreeBSD GNU C Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-LDBMBACKEND=-DLDBM_USE_DBBTREE
-LDBMINCLUDE=-I/usr/include
-
-EDITOR=/usr/bin/vi
-FINGER=/usr/bin/finger
-SENDMAIL=/usr/sbin/sendmail
-
-LDAP_RUNDIR=/var/run
-
-MANCOMPRESS=gzip
-MANCOMPRESSSUFFIX=.gz
-
-#
-# LDAP has a problem with the idea of implicit vs. explicit yields
-# in call conversion threading packages, like the MIT pthreads
-# package. Rather than resolve this globally, I have marked the
-# threading as "preeemptive", even though it is technically not.
-#
-# This means that the implicit-yield threading is topologically
-# equivalent to preemptive threading.
-#
-THREADS= -DPOSIX_THREADS -D_THREAD_SAFE -DPTHREAD_PREEMPTIVE
-
-# use special gcc flag to include libc_r.a
-THREADSLIB= -pthread
-#THREADSLIB= -lc_r
-
-# if you built/installed with -DNOLIBC_R, you'll need uncomment
-# out the following
-#THREADS= -DNO_THREADS -DPTHREAD_PREEMPTIVE
-#THREADSLIB=
-
-# crypt(3) is in a separate library
-LDAP_CRYPT_LIB= -lcrypt
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC = gcc
-PLATFORMCFLAGS= -Dfreebsd
+++ /dev/null
-#
-# HP-UX optional c89 Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC=c89
-
-# ranlib not needed under HP-UX
-RANLIB = ""
-
-# install under HP-UX is not like on BSD systems, so we use our own script
-INSTALL=$(LDAPSRC)/build/install.sh
-
-# we need to link a separate library to get ndbm routines under HP/UX
-LDBMLIB=-lndbm
-
-# we need to link in the V3 library to get sigset()
-PLATFORMLIBS= -lV3
-
-PLATFORMCFLAGS= -Dhpux -Aa -D_HPUX_SOURCE
+++ /dev/null
-#
-# LDAP HP-UX standard cc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-# ranlib not needed under HP-UX
-RANLIB = ""
-
-# install under HP-UX is not like on BSD systems, so we use our own script
-INSTALL=$(LDAPSRC)/build/install.sh
-
-# we need to link a separate library to get ndbm routines under HP/UX
-LDBMLIB=-lndbm
-
-PLATFORMCFLAGS= -Dhpux
-
-# we need to link in the V3 library to get sigset()
-PLATFORMLIBS= -lV3
-
-#
-# the HP-UX cc compiler doesn't understand function prototypes, so we
-# need the unproto preprocessor
-#
-NEEDUNPROTO=yes
-UNPROTOCFLAGS=-tp,$(LDAPSRC)/build/unproto/cpp
+++ /dev/null
-#
-# LDAP HP-UX gcc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC=gcc
-
-# ranlib not needed under HP-UX
-RANLIB = ""
-
-# install under HP-UX is not like on BSD systems, so we use our own script
-INSTALL=$(LDAPSRC)/build/install.sh
-
-# we need to link a separate library to get ndbm routines under HP/UX
-LDBMLIB=-lndbm
-
-# we need to link in the V3 library to get sigset()
-PLATFORMLIBS= -lV3
-
-PLATFORMCFLAGS= -Dhpux
+++ /dev/null
-#
-# LDAP IRIX standard cc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-# ranlib not needed under IRIX
-RANLIB = ""
-
-# be explicit about which CC to use
-CC=cc
-
-# give full path to hostname since it may not be in user's path
-HOSTNAME=/usr/bsd/hostname
-
-# don't count on a BSD install being present or first in path
-INSTALL=$(LDAPSRC)/build/install.sh
-
-PLATFORMCFLAGS=-DUSE_WAITPID
-PLATFORMLIBS=
-THREADS=
-THREADSLIB=
+++ /dev/null
-#
-# LDAP IRIX standard cc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-# ranlib not needed under IRIX
-RANLIB = ""
-
-# be explicit about which CC to use
-CC=gcc
-
-# give full path to hostname since it may not be in user's path
-HOSTNAME=/usr/bsd/hostname
-
-# don't count on a BSD install being present or first in path
-INSTALL=$(LDAPSRC)/build/install.sh
-
-PLATFORMCFLAGS=-DUSE_WAITPID
-PLATFORMLIBS=
-THREADS=
-THREADSLIB=
+++ /dev/null
-#
-# LDAP Linux GNU C Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-EXTRACFLAGS=-O -g
-CC = gcc
-RANLIB = "ranlib"
-
-LDBMBACKEND=-DLDBM_USE_GDBM
-LDBMLIB=-lgdbm
-
-PLATFORMCFLAGS= -Dlinux
-
-# not all versions of Linux support POSIX Threads
-#THREADS=-DPOSIX_THREADS -DREENTRANT
-#THREADSLIB=-lpthread
-
-# crypt(3) is in -lcrypt on some versions of Linux
-#LDAP_CRYPT_LIB= -lcrypt
-
-LDAP_SENDMAIL=/usr/sbin/sendmail
-LDAP_EDITOR=/bin/vi
-LDAP_FINGER=/usr/bin/finger
+++ /dev/null
-#
-# LDAP SVR4 standard cc Make-platform file
-#
-# Uses the std SVR4 stuff whenever possible.
-# Some references to the BSD compatibility required.
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-# compiler to use, e.g. CC=cc or CC=gcc
-CC = cc
-
-# flags added to every compile
-# Use the BSD include files but only after the SVR4 files.
-PLATFORMCFLAGS= -DSYSV -DSVR4 -I/usr/include -I/usr/ucbinclude
-
-# flags added to every link
-PLATFORMLDFLAGS =
-
-# extra libraries needed (added to the end of all link commands)
-PLATFORMLIBS = -lnsl -lnet -lsocket
-
-# ndbm library, needed if not in libc (e.g. LDBMLIB=-lndbm)
-LDBMLIB = -L/usr/ucblib -lucb
-
-# BSD-like install command; if necessary, you can use a script
-INSTALL = /usr/ucb/install
-
-# command to convert libraries for efficient random access;
-RANLIB = ""
-
-# other commands - see the file build/Make-append for a list
+++ /dev/null
-#
-# LDAP NetBSD cc Make-platform file
-# on NetBSD, cc is gcc
-#
-
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC = gcc
-
-PLATFORMCFLAGS= -Dnetbsd
+++ /dev/null
-#
-# LDAP NetBSD GNU C Make-platform file
-#
-
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC = gcc
-
-PLATFORMCFLAGS= -Dnetbsd
+++ /dev/null
-#
-# LDAP NeXTSTEP cc Make-platform file
-#
-
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-PLATFORMCFLAGS= -Dnextstep
-PLATFORMLDFLAGS= -all_load
+++ /dev/null
-#
-# LDAP OSF1 standard cc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-
-# Even though prototypes are supported by the compiler, OSF's CC doesn't
-# seem to define __STDC__ so we explicitly defined NEEDPROTOS here.
-PLATFORMCFLAGS= -Dosf1 -DNEEDPROTOS
-PLATFORMLDFLAGS=
-
-THREADS= -DTHREAD_DCE_PTHREADS
-THREADSLIB= -lpthreads
-
-# the BSD-like install under OSF/1 is called installbsd
-INSTALL=installbsd
+++ /dev/null
-#
-# LDAP SCO standard cc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-# ranlib not needed under SCO
-RANLIB = ""
-
-# be explicit about which CC to use
-CC=/bin/cc
-
-# don't count on /usr/ucb/install being present or first in path
-INSTALL=$(LDAPSRC)/build/install.sh
-
-PLATFORMCFLAGS= -DSCO -DNEED_BSDREGEX -DSYSV -DNOTERMCAP
-PLATFORMLIBS= -lsocket -lnsl_s
+++ /dev/null
-#
-# LDAP SCO gcc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-# ranlib not needed under SCO
-RANLIB = ""
-
-CC=gcc
-
-# don't count on /usr/ucb/install being present or first in path
-INSTALL=$(LDAPSRC)/build/install.sh
-
-PLATFORMCFLAGS= -DSCO -DNEED_BSDREGEX -DSYSV -DNOTERMCAP
-PLATFORMLIBS= -lsocket -lnsl_s
+++ /dev/null
-#
-# LDAP SunOS standard cc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-5LINT = /usr/5bin/lint
-
-PLATFORMCFLAGS= -Dsunos4
-THREADS= -DTHREAD_SUNOS4_LWP
-THREADSLIB=-llwp
-
-#
-# the SunOS 4 cc compiler doesn't understand function prototypes, so we
-# need the unproto preprocessor
-#
-NEEDUNPROTO=yes
-UNPROTOCFLAGS=-Qpath $(LDAPSRC)/build/unproto
+++ /dev/null
-#
-# LDAP SunOS GNU C Make-platform file
-#
-
-
-#
-# add any platform-specific overrides below here
-#
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC = gcc
-5LINT = /usr/5bin/lint
-
-PLATFORMCFLAGS= -Dsunos4
-THREADS= -DTHREAD_SUNOS4_LWP
-THREADSLIB=-llwp
+++ /dev/null
-#
-# LDAP SunOS5 standard cc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-# ranlib not needed under SunOS5
-RANLIB = ""
-
-# be explicit about which CC to use
-CC=cc
-
-# give full path to hostname since it may not be in user's path
-HOSTNAME=/usr/ucb/hostname
-
-# don't count on /usr/ucb/install being present or first in path
-INSTALL=$(LDAPSRC)/build/install.sh
-
-PLATFORMCFLAGS= -Dsunos5 -D_REENTRANT
-PLATFORMLIBS= -lsocket -lnsl -lgen
-THREADS= -DTHREAD_SUNOS5_LWP
-THREADSLIB=-lthread
+++ /dev/null
-#
-# LDAP SunOS5 GNU C Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-CC = gcc
-
-# ranlib not needed under SunOS5
-RANLIB = ""
-
-# give full path to hostname since it may not be in user's path
-HOSTNAME=/usr/ucb/hostname
-
-# don't count on /usr/ucb/install being present or first in path
-INSTALL=$(LDAPSRC)/build/install.sh
-
-PLATFORMCFLAGS= -Dsunos5 -D_REENTRANT
-PLATFORMLIBS= -lsocket -lnsl -lgen
-THREADS= -DTHREAD_SUNOS5_LWP
-THREADSLIB=-lthread
+++ /dev/null
-#
-# LDAP Ultrix standard cc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-
-PLATFORMCFLAGS= -Dultrix -YSYSTEM_FIVE
-PLATFORMLDFLAGS= -YSYSTEM_FIVE
+++ /dev/null
-#
-# LDAP Ultrix standard gcc Make-platform file
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-
-#
-# -------------------------------------------------------------------------
-# you will probably not need to edit anything below this point
-# -------------------------------------------------------------------------
-
-CC= gcc
-PLATFORMCFLAGS= -Dultrix
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP build/platforms/vms Makefile (do nothing)
-#
-#-----------------------------------------------------------------------------
-#
-############################################################################
-# #
-# You should not have to edit anything in this file #
-# #
-############################################################################
-LDAPSRC= ../../..
-
-all: FORCE
-
-links: FORCE
-
-clean: FORCE
-
-veryclean: FORCE
-
-FORCE:
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP clients Makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-all: FORCE
- @echo "making all in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
- ( cd $$i; $(MAKE) $(MFLAGS) all ); \
- fi; \
- done
-
-
-#
-# rules to install the software
-#
-
-install: FORCE
- @echo "making install in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
- ( cd $$i; $(MAKE) $(MFLAGS) install ); \
- fi; \
- done
-
-#
-# rules to make clean
-#
-
-clean: FORCE
- @echo "making clean in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
- ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
- fi; \
- done
-
-veryclean: clean
-
-#
-# rules to make depend
-#
-#
-
-depend: FORCE
- @echo "making depend in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
- ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
- fi; \
- done
-
-links:
- @echo "making links in `$(PWD)`"; \
- for i in .src/*; do \
- if [ -d $$i -a $$i != ".src/RCS" ]; then \
- d=`basename $$i`; \
- ( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
- $(LN) ../.src/$$d/Make-template . ; \
- $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
- -f Make-template links ) ; \
- fi; \
- done
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# X.500 ldap fax mailer makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = rp500.c main.c faxtotpc.c
-OBJS = rp500.o main.o faxtotpc.o
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-LIBS = -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-all: rp500 fax500
-
-rp500: rpversion.o
- $(CC) $(ALDFLAGS) -o $@ faxtotpc.o rp500.o rpversion.o \
- -L$(LDIR) $(LIBS)
-
-fax500: fax5version.o
- $(CC) $(ALDFLAGS) -o $@ main.o fax5version.o faxtotpc.o \
- -L$(LDIR) $(LIBS)
-
-rpversion.c: faxtotpc.o rp500.o $(LDIR)/libldap.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Versionrp.c > $@)
-
-fax5version.c: main.o faxtotpc.o $(LDIR)/libldap.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@ )
-
-install: rp500 xrpcomp fax500 FORCE
- -$(MKDIR) -p $(ETCDIR) $(BINDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 rp500 $(ETCDIR)
- $(SED) -e 's%ETCDIR%$(ETCDIR)%' xrpcomp > /tmp/xrpcomp.tmp
- $(INSTALL) $(INSTALLFLAGS) -m 755 /tmp/xrpcomp.tmp $(BINDIR)/xrpcomp
- $(RM) /tmp/xrpcomp.tmp
- $(INSTALL) $(INSTALLFLAGS) -m 755 fax500 $(ETCDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) *.o core a.out rpversion.c fax5version.c rp500 fax500
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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/lber.h
-rp500.o: ../../include/ldap.h
-main.o: main.c ../../include/ldapconfig.h ../../include/portable.h
-main.o: ../../include/lber.h ../../include/ldap.h
-faxtotpc.o: faxtotpc.c
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# X.500 ldap finger daemon makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = main.c
-OBJS = main.o
-
-INCLUDES=-I$(HDIR)
-DEFINES = $(DEFS)
-
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-LIBS = -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-all: in.xfingerd
-
-in.xfingerd: version.o
- $(CC) $(ALDFLAGS) -o $@ $(OBJS) version.o \
- -L$(LDIR) $(LIBS)
-
-version.c: $(OBJS) $(LDIR)/libldap.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: in.xfingerd FORCE
- -$(MKDIR) -p $(ETCDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 in.xfingerd $(ETCDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) *.o core a.out version.c in.xfingerd
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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/lber.h ../../include/ldap.h
-main.o: ../../include/disptmpl.h ../../include/portable.h
-main.o: ../../include/ldapconfig.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# gopher to x.500 gateway makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = go500.c go500gw.c detach.c setproctitle.c
-OBJS = go500.o go500gw.o detach.o setproctitle.o
-GOOBJS = go500.o detach.o goversion.o setproctitle.o
-GWOBJS = go500gw.o detach.o gwversion.o setproctitle.o
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-
-CFLAGS = $(INCLUDES) $(DEFS) $(ACFLAGS)
-LIBS = -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-DLIBS = $(LDIR)/libldap.a $(LDIR)/liblber.a
-
-all: go500gw go500
-
-go500gw: gwversion.o
- $(CC) $(ALDFLAGS) -o $@ $(GWOBJS) -L$(LDIR) $(LIBS)
-
-go500: goversion.o
- $(CC) $(ALDFLAGS) -o $@ $(GOOBJS) -L$(LDIR) $(LIBS)
-
-goversion.c: go500.o detach.o setproctitle.o $(DLIBS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-gwversion.c: go500gw.o detach.o setproctitle.o $(DLIBS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Versiongw.c > $@)
-
-install: go500 go500gw go500gw.help FORCE
- -$(MKDIR) -p $(ETCDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 go500 $(ETCDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 go500gw $(ETCDIR)
- -$(MV) $(ETCDIR)/go500gw.help $(ETCDIR)/go500gw.help-
- $(INSTALL) $(INSTALLFLAGS) -m 644 go500gw.help $(ETCDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) *.o core a.out gwversion.c goversion.c go500gw go500
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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/portable.h ../../include/ldapconfig.h
-go500.o: ../../include/lber.h ../../include/ldap.h ../../include/disptmpl.h
-go500gw.o: go500gw.c ../../include/lber.h ../../include/ldap.h
-go500gw.o: ../../include/disptmpl.h ../../include/portable.h
-go500gw.o: ../../include/ldapconfig.h
-detach.o: detach.c ../../include/portable.h
-setproctitle.o: setproctitle.c
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# X.500 ldap mailer makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = main.c
-OBJS = main.o
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-LDFLAGS = -L$(LDIR)
-LIBS = -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-all: mail500
-
-mail500: version.o
- $(CC) $(ALDFLAGS) -o $@ $(OBJS) version.o $(LDFLAGS) $(LIBS)
-
-version.c: $(OBJS) $(LDIR)/libldap/libldap.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: mail500 FORCE
- -$(MKDIR) -p $(ETCDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 mail500 $(ETCDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) *.o core a.out version.c mail500
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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/lber.h
-main.o: ../../include/ldap.h ../../include/ldapconfig.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# X.500 ldap rcpt500 mail query responder makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS= main.c cmds.c help.c query.c
-OBJS= main.o cmds.o help.o query.o
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-LIBS = -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-all: rcpt500
-
-rcpt500: version.o
- $(CC) $(ALDFLAGS) -o $@ $(OBJS) version.o -L$(LDIR) $(LIBS)
-
-version.c: $(OBJS) $(LDIR)/libldap.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: rcpt500 rcpt500.help FORCE
- -$(MKDIR) -p $(ETCDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 rcpt500 $(ETCDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 rcpt500.help $(ETCDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) *.o core a.out version.c rcpt500
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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 ../../include/ldapconfig.h rcpt500.h
-cmds.o: cmds.c rcpt500.h
-help.o: help.c ../../include/portable.h ../../include/ldapconfig.h rcpt500.h
-query.o: query.c ../../include/lber.h ../../include/ldap.h
-query.o: ../../include/portable.h ../../include/ldapconfig.h
-query.o: ../../include/disptmpl.h rcpt500.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP tools makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = ldapsearch.c ldapmodify.c ldapdelete.c ldapmodrdn.c
-OBJS = ldapsearch.o ldapmodify.o ldapdelete.o ldapmodrdn.o
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-LIBS = -lldap -llber -lldif $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-all: ldapsearch ldapmodify ldapdelete ldapmodrdn ldapadd
-
-ldapsearch: ldsversion.o
- $(CC) $(ALDFLAGS) -o $@ ldapsearch.o ldsversion.o \
- -L$(LDIR) $(LIBS)
-
-ldapmodify: ldmversion.o
- $(CC) $(ALDFLAGS) -o $@ ldapmodify.o ldmversion.o \
- -L$(LDIR) $(LIBS)
-
-ldapdelete: lddversion.o
- $(CC) $(ALDFLAGS) -o $@ ldapdelete.o lddversion.o -L$(LDIR) $(LIBS)
-
-ldapmodrdn: ldrversion.o
- $(CC) $(ALDFLAGS) -o $@ ldapmodrdn.o ldrversion.o -L$(LDIR) $(LIBS)
-
-ldapadd: ldapmodify
- $(RM) $@
- $(HARDLN) ldapmodify ldapadd
-
-ldsversion.c: ldapsearch.o
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Versionlds.c > $@)
-
-ldmversion.c: ldapmodify.o
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Versionldm.c > $@)
-
-lddversion.c: ldapdelete.o
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Versionldd.c > $@)
-
-ldrversion.c: ldapmodrdn.o
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Versionldr.c > $@)
-
-install: ldapsearch ldapmodify ldapdelete ldapmodrdn ldapadd FORCE
- -$(MKDIR) -p $(BINDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldapsearch $(BINDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldapmodify $(BINDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldapdelete $(BINDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldapmodrdn $(BINDIR)
- $(RM) $(BINDIR)/ldapadd
- $(HARDLN) $(BINDIR)/ldapmodify $(BINDIR)/ldapadd
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) *.o core a.out ld*version.c ldapsearch ldapmodify ldapdelete \
- ldapmodrdn ldapadd
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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/ldap.h
-ldapsearch.o: ../../include/ldif.h ../../include/ldapconfig.h
-ldapmodify.o: ldapmodify.c ../../include/lber.h ../../include/ldap.h
-ldapmodify.o: ../../include/ldif.h ../../include/ldapconfig.h
-ldapdelete.o: ldapdelete.c ../../include/lber.h ../../include/ldap.h
-ldapdelete.o: ../../include/ldapconfig.h
-ldapmodrdn.o: ldapmodrdn.c ../../include/lber.h ../../include/ldap.h
-ldapmodrdn.o: ../../include/ldapconfig.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# ud makefile
-#
-# Use -DUOFM for University of Michigan specifics like:
-# if ud should know about noBatchUpdates
-# Use -DDOS if building for a DOS machine
-# Use -DNOTERMCAP if there is no termcap library
-# also need to redefine/undefine the Makefile TERMLIB variable
-#-----------------------------------------------------------------------------
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS= main.c find.c mod.c print.c auth.c util.c help.c\
- string_to_key.c group.c edit.c globals.c
-OBJS= main.o find.o mod.o print.o auth.o util.o help.o\
- string_to_key.o group.o globals.o edit.o
-HDRS= ud.h
-
-INCLUDES= -I$(HDIR) $(KRBINCLUDEFLAG)
-DEFINES= $(DEFS) -DDEBUG -DCONFIG_FILE=\"$(RUNTIMEETCDIR)/ud.conf\" \
- -DLDAP_FRIENDLY_MAP_FILE=\"$(RUNTIMEETCDIR)/ldapfriendly\"
-TERMLIB= -ltermcap
-
-CFLAGS= ${INCLUDES} ${DEFINES} ${ACFLAGS}
-LIBS= ${TERMLIB} -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-PURIFY=
-#PURIFY=purify
-
-all: ud
-
-ud : version.o
- $(PURIFY) ${CC} $(ALDFLAGS) -o $@ version.o ${OBJS} -L${LDIR} ${LIBS}
-
-version.c: ${OBJS} $(LDIR)/libldap/libldap.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: ud FORCE
- -$(MKDIR) -p $(BINDIR)
- -mv -f ${BINDIR}/ud ${BINDIR}/ud-
- $(INSTALL) $(INSTALLFLAGS) -m 775 ud ${BINDIR}
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) $(OBJS) core ud tags version.o version.c
- $(RM) *_pure_*.o ud.pure_hardlink ud.pure_linkinfo
-
-tags: FORCE
- $(CTAGS) $(SRCS) ${HDRS}
-
-lint: FORCE
- $(LINT) -Dlint $(INCLUDES) $(DEFINES) $(SRCS) version.c | \
- egrep -v "string_to_key|but not defined"
-
-5lint: FORCE
- $(5LINT) -Dlint $(INCLUDES) $(DEFINES) $(SRCS) version.c
-
-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/ldap.h
-main.o: ../../include/ldapconfig.h ../../include/portable.h ud.h
-find.o: find.c ../../include/lber.h ../../include/ldap.h ud.h
-mod.o: mod.c ../../include/lber.h ../../include/ldap.h ud.h
-print.o: print.c ../../include/lber.h ../../include/ldap.h ud.h
-auth.o: auth.c ../../include/lber.h ../../include/ldap.h
-auth.o: ../../include/ldapconfig.h ud.h
-util.o: util.c ../../include/lber.h ../../include/ldap.h
-util.o: ../../include/ldapconfig.h ../../include/portable.h ud.h
-help.o: help.c ../../include/lber.h ../../include/ldap.h ud.h
-string_to_key.o: string_to_key.c
-group.o: group.c ../../include/lber.h ../../include/ldap.h
-group.o: ../../include/ldapconfig.h ud.h
-edit.o: edit.c ../../include/lber.h ../../include/ldap.h
-edit.o: ../../include/ldapconfig.h ud.h
-globals.o: globals.c ud.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-# Makefile for LDAP "saucer" client
-
-HDIR = $(LDAPSRC)/include
-INSTMAN = $(MANDIR)/man$(SECT)
-LDAPSRC = ../..
-LDIR = $(LDAPSRC)/libraries
-SECT = 1
-VERFILE = $(LDAPSRC)/build/version
-
-CFLAGS = -I$(HDIR) $(DEFINES) $(ACFLAGS)
-SRCS = main.c
-OBJS = $(SRCS:.c=.o)
-LIBS = -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-all: saucer
-
-saucer: $(OBJS)
- $(CC) $(ALDFLAGS) -o $@ $(OBJS) -L$(LDIR) $(LIBS)
-
-protoize: $(SRCS)
- protoize -c "$(CFLAGS)" $(SRCS)
-
-unprotoize: $(SRCS)
- unprotoize -c "$(CFLAGS)" $(SRCS)
-
-install: saucer FORCE
- -$(MKDIR) -p $(BINDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 755 saucer $(BINDIR)
- -$(MKDIR) -p $(INSTMAN)
- @TMPMAN=/tmp/ldapman.$$$$; \
- VERSION=`$(CAT) $(VERFILE)`; \
- for page in *.$(SECT); do \
- $(SED) -e 's%ETCDIR%$(ETCDIR)%' -e "s%LDVERSION%$$VERSION%" \
- $$page > $$TMPMAN; \
- echo "installing $(INSTMAN)/$$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN $(INSTMAN)/$$page; \
- done; \
- $(RM) $$TMPMAN
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) *.o core a.out saucer
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-links:
- @$(LN) .src/*.[ch] .
-
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP doc Makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-all: FORCE
- @echo "making all in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
- ( cd $$i; $(MAKE) $(MFLAGS) all ); \
- fi; \
- done
-
-
-install: FORCE
- @echo "making install in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
- ( cd $$i; $(MAKE) $(MFLAGS) install ); \
- fi; \
- done
-
-
-clean: FORCE
- @echo "making clean in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
- ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
- fi; \
- done
-
-
-veryclean: clean
-
-
-depend: FORCE
- @echo "making depend in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
- ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
- fi; \
- done
-
-
-lint: FORCE
- @echo "making lint in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) lint"; \
- ( cd $$i; $(MAKE) $(MFLAGS) lint ); \
- fi; \
- done
-
-
-5lint: FORCE
- @echo "making 5lint in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) 5lint"; \
- ( cd $$i; $(MAKE) $(MFLAGS) 5lint ); \
- fi; \
- done
-
-
-links:
- @echo "making links in `$(PWD)`"; \
- for i in .src/*; do \
- if [ -d $$i -a $$i != ".src/RCS" ]; then \
- d=`basename $$i`; \
- ( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
- $(LN) ../.src/$$d/Make-template . ; \
- $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
- -f Make-template links ) ; \
- fi; \
- done
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP doc/guides makefile
-#
-#-----------------------------------------------------------------------------
-
-all: FORCE
-
-install: FORCE
-
-lint: FORCE
-
-5lint: FORCE
-
-clean: FORCE
-
-depend: FORCE
-
-links:
- @$(LN) .src/*.txt .
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP doc/man makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-all: FORCE
- @echo "making all in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
- ( cd $$i; $(MAKE) $(MFLAGS) all ); \
- fi; \
- done
-
-
-#
-# rules to install the software
-#
-
-install: FORCE
- @echo "making install in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
- ( cd $$i; $(MAKE) $(MFLAGS) install ); \
- fi; \
- done
-
-#
-# rules to make clean
-#
-
-clean: FORCE
- @echo "making clean in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
- ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
- fi; \
- done
-
-veryclean: clean
-
-#
-# rules to make depend
-#
-#
-
-depend: FORCE
- @echo "making depend in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
- ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
- fi; \
- done
-
-links:
- @echo "making links in `$(PWD)`"; \
- for i in .src/*; do \
- if [ -d $$i -a $$i != ".src/RCS" ]; then \
- d=`basename $$i`; \
- ( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
- $(LN) ../.src/$$d/Make-template . ; \
- $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
- -f Make-template links ) ; \
- fi; \
- done
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP man1 makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC= ../../..
-SECT=1
-INSTDIR=$(MANDIR)/man$(SECT)
-VERSIONFILE = $(LDAPSRC)/build/version
-
-all: FORCE
-
-install: FORCE
- -$(MKDIR) -p $(INSTDIR)
- @TMPMAN=/tmp/ldapman.$$$$; \
- VERSION=`$(CAT) $(VERSIONFILE)`; \
- for page in *.$(SECT); do \
- $(SED) -e 's%ETCDIR%$(RUNTIMEETCDIR)%' -e "s%LDVERSION%$$VERSION%" \
- $$page > $$TMPMAN; \
- echo "installing $(INSTDIR)/$$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN $(INSTDIR)/$$page; \
- if [ -f "$$page.links" ]; then \
- for link in `$(CAT) $$page.links`; do \
- echo ".so man$(SECT)/$$page" > $$TMPMAN; \
- echo "installing $(INSTDIR)/$$link as link to $$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN \
- $(INSTDIR)/$$link; \
- done; \
- fi; \
- done; \
- $(RM) $$TMPMAN
-
-clean: FORCE
-
-depend: FORCE
-
-lint: FORCE
-
-5lint: FORCE
-
-links:
- @$(LN) .src/*.$(SECT) .src/*links .
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP man3 makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC= ../../..
-SECT=3
-INSTDIR=$(MANDIR)/man$(SECT)
-VERSIONFILE = $(LDAPSRC)/build/version
-
-all: FORCE
-
-install: FORCE
- -$(MKDIR) -p $(INSTDIR)
- @TMPMAN=/tmp/ldapman.$$$$; \
- VERSION=`$(CAT) $(VERSIONFILE)`; \
- for page in *.$(SECT); do \
- $(SED) -e 's%ETCDIR%$(RUNTIMEETCDIR)%' -e "s%LDVERSION%$$VERSION%" \
- $$page > $$TMPMAN; \
- echo "installing $(INSTDIR)/$$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN $(INSTDIR)/$$page; \
- if [ -f "$$page.links" ]; then \
- for link in `$(CAT) $$page.links`; do \
- echo ".so man$(SECT)/$$page" > $$TMPMAN; \
- echo "installing $(INSTDIR)/$$link as link to $$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN \
- $(INSTDIR)/$$link; \
- done; \
- fi; \
- done; \
- $(RM) $$TMPMAN
-
-clean: FORCE
-
-depend: FORCE
-
-lint: FORCE
-
-5lint: FORCE
-
-links:
- @$(LN) .src/*.$(SECT) .src/*links .
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP man5 makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC= ../../..
-SECT=5
-INSTDIR=$(MANDIR)/man$(SECT)
-VERSIONFILE = $(LDAPSRC)/build/version
-
-all: FORCE
-
-install: FORCE
- -$(MKDIR) -p $(INSTDIR)
- @TMPMAN=/tmp/ldapman.$$$$; \
- VERSION=`$(CAT) $(VERSIONFILE)`; \
- for page in *.$(SECT); do \
- $(SED) -e 's%ETCDIR%$(RUNTIMEETCDIR)%' -e "s%LDVERSION%$$VERSION%" \
- $$page > $$TMPMAN; \
- echo "installing $(INSTDIR)/$$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN $(INSTDIR)/$$page; \
- if [ -f "$$page.links" ]; then \
- for link in `$(CAT) $$page.links`; do \
- echo ".so man$(SECT)/$$page" > $$TMPMAN; \
- echo "installing $(INSTDIR)/$$link as link to $$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN \
- $(INSTDIR)/$$link; \
- done; \
- fi; \
- done; \
- $(RM) $$TMPMAN
-
-clean: FORCE
-
-depend: FORCE
-
-lint: FORCE
-
-5lint: FORCE
-
-links:
- @$(LN) .src/*.$(SECT) .src/*links .
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP man8 makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC= ../../..
-SECT=8
-INSTDIR=$(MANDIR)/man$(SECT)
-VERSIONFILE = $(LDAPSRC)/build/version
-
-all: FORCE
-
-install: FORCE
- -$(MKDIR) -p $(INSTDIR)
- @TMPMAN=/tmp/ldapman.$$$$; \
- VERSION=`$(CAT) $(VERSIONFILE)`; \
- for page in *.$(SECT); do \
- $(SED) -e 's%ETCDIR%$(RUNTIMEETCDIR)%' -e "s%LDVERSION%$$VERSION%" \
- $$page > $$TMPMAN; \
- echo "installing $(INSTDIR)/$$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN $(INSTDIR)/$$page; \
- if [ -f "$$page.links" ]; then \
- for link in `$(CAT) $$page.links`; do \
- echo ".so man$(SECT)/$$page" > $$TMPMAN; \
- echo "installing $(INSTDIR)/$$link as link to $$page"; \
- $(INSTALL) $(INSTALLFLAGS) -m 644 $$TMPMAN \
- $(INSTDIR)/$$link; \
- done; \
- fi; \
- done; \
- $(RM) $$TMPMAN
-
-clean: FORCE
-
-depend: FORCE
-
-lint: FORCE
-
-5lint: FORCE
-
-links:
- @$(LN) .src/*.$(SECT) .src/*links .
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP doc/rfc makefile
-#
-#-----------------------------------------------------------------------------
-
-all: FORCE
-
-install: FORCE
-
-lint: FORCE
-
-5lint: FORCE
-
-clean: FORCE
-
-depend: FORCE
-
-links:
- @$(LN) .src/*.txt .
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP include file makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC=..
-
-all: ldapconfig.h FORCE
- @if [ ! -z "$(SYSEXITSPATH)" -a ! -r sysexits.h ]; then \
- echo "$(LN) $(SYSEXITSPATH) sysexits.h"; \
- $(LN) $(SYSEXITSPATH) sysexits.h; \
- else \
- exit 0; \
- fi
-
-ldapconfig.h: ldapconfig.h.edit Makefile
- @$(RM) $@
- @echo "/*" > $@; \
- echo " * This file was automatically generated. Do not edit it." >> $@; \
- echo " * Instead, edit the file ldapconfig.h.edit. See the LDAP" >> $@; \
- echo " * INSTALL file for more information." >> $@; \
- echo " */ " >> $@; \
- echo "" >> $@; \
- $(SED) -e 's;%ETCDIR%;$(RUNTIMEETCDIR);' ldapconfig.h.edit >> $@; \
- $(CHMOD) 444 $@
-
-install: all FORCE
- -$(MKDIR) -p $(INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 ldap.h $(INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 lber.h $(INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 proto-lber.h $(INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 proto-ldap.h $(INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 disptmpl.h $(INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 srchpref.h $(INCLUDEDIR)
-
-depend: FORCE
-
-clean: FORCE
-
-veryclean: clean
- $(RM) ldapconfig.h
- @if [ ! -z "$(SYSEXITSPATH)" ]; then \
- echo "$(RM) sysexits.h"; \
- $(RM) sysexits.h; \
- else \
- exit 0; \
- fi
-
-links:
- @echo "making links in `$(PWD)`
- @$(LN) .src/*.h .
- @cp .src/ldapconfig.h.edit .
- @-$(RM) ldapconfig.h
+++ /dev/null
-/*
- * Copyright (c) 1994 Regents of the University of Michigan.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and that due credit is given
- * to the University of Michigan at Ann Arbor. The name of the University
- * may not be used to endorse or promote products derived from this
- * software without specific prior written permission. This software
- * is provided ``as is'' without express or implied warranty.
- */
-
-#ifndef _LDAP_CONFIG_H
-#define _LDAP_CONFIG_H
-
-/*
- * config.h for LDAP -- edit this file to customize LDAP client behavior.
- * NO platform-specific definitions should be placed in this file.
- * Note that this is NOT used by the LDAP or LBER libraries.
- */
-
-/*
- * SHARED DEFINITIONS - things you should change
- */
-#define DEFAULT_BINDIR "%BINDIR%"
-#define DEFAULT_SBINDIR "%SBINDIR%"
-#define DEFAULT_SYSCONFDIR "%SYSCONFDIR%"
-#define DEFAULT_LIBEXECDIR "%LIBEXECDIR%"
-
-/* default ldap host */
-#define LDAPHOST "localhost"
-
-#define DEFAULT_LDAPHOST_FILE "%SYSCONFDIR%/ldaphost"
-/* default place to start searching */
-#define DEFAULT_BASE "o=Your Organization Name, c=US"
-#define DEFAULT_BASE_FILE "%SYSCONFDIR%/ldapbase"
-
-/*
- * default binddn and creditials
- * use files, make sure they are not generally readable
- */
-#define DEFAULT_BINDDN NULL
-#define DEFAULT_BINDDN_FILE "%SYSCONFDIR%/ldapbinddn"
-
-#define DEFAULT_BIND_CRED NULL
-#define DEFAULT_BIND_CRED_FILE "%SYSCONFDIR%/ldapbindcred"
-
-/*********************************************************************
- * *
- * You probably do not need to edit anything below this point *
- * *
- *********************************************************************/
-
-/*
- * SHARED DEFINITIONS - other things you can change
- */
- /* default attribute to use when sorting entries, NULL => sort by DN */
-#define SORT_ATTR NULL
- /* default count of DN components to show in entry displays */
-#define DEFAULT_RDNCOUNT 2
- /* default config file locations */
-#define FILTERFILE "%SYSCONFDIR%/ldapfilter.conf"
-#define TEMPLATEFILE "%SYSCONFDIR%/ldaptemplates.conf"
-#define SEARCHFILE "%SYSCONFDIR%/ldapsearchprefs.conf"
-#define FRIENDLYFILE "%SYSCONFDIR%/ldapfriendly"
-
-/*
- * FINGER DEFINITIONS
- */
- /* who to bind as */
-#define FINGER_BINDDN NULL
-#define FINGER_BIND_CRED NULL
- /* where to search */
-#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 "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 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."
-#define FINGER_NOEMAIL2 NULL
-#define FINGER_NOEMAIL { FINGER_NOEMAIL1, FINGER_NOEMAIL2, NULL }
- /* maximum number of matches returned */
-#define FINGER_SIZELIMIT 50
- /* max number of hits displayed in full before a list is presented */
-#define FINGER_LISTLIMIT 1
- /* what to exec for "finger @host" */
-#define FINGER_CMD "%FINGER%"
- /* how to treat aliases when searching */
-#define FINGER_DEREF LDAP_DEREF_FINDING
- /* attribute to use when sorting results */
-#define FINGER_SORT_ATTR SORT_ATTR
- /* enable ufn support */
-#define FINGER_UFN
- /* timeout for searches */
-#define FINGER_TIMEOUT 60
- /* number of DN components to show in entry displays */
-#define FINGER_RDNCOUNT DEFAULT_RDNCOUNT
-
-/*
- * GO500 GOPHER GATEWAY DEFINITIONS
- */
- /* 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 */
-#define GO500_PORT 5555
- /* how to handle aliases */
-#define GO500_DEREF LDAP_DEREF_FINDING
- /* attribute to use when sorting results */
-#define GO500_SORT_ATTR SORT_ATTR
- /* timeout for searches */
-#define GO500_TIMEOUT 180
- /* enable ufn support */
-#define GO500_UFN
- /*
- * only set and uncomment this if your hostname() does not return
- * a fully qualified hostname
- */
-/* #define GO500_HOSTNAME "fully.qualified.hostname.here" */
- /* number of DN components to show in entry displays */
-#define GO500_RDNCOUNT DEFAULT_RDNCOUNT
-
-/*
- * GO500GW GOPHER GATEWAY DEFINITIONS
- */
- /* who to bind as */
-#define GO500GW_BINDDN NULL
-#define GO500GW_BIND_CRED NULL
- /* where the helpfile lives */
-#define GO500GW_HELPFILE "%SYSCONFDIR%/go500gw.help"
- /* port on which to listen */
-#define GO500GW_PORT 7777
- /* timeout on all searches */
-#define GO500GW_TIMEOUT 180
- /* enable ufn support */
-#define GO500GW_UFN
- /* attribute to use when sorting results */
-#define GO500GW_SORT_ATTR SORT_ATTR
- /*
- * only set and uncomment this if your hostname() does not return
- * a fully qualified hostname
- */
-/* #define GO500GW_HOSTNAME "fully.qualified.hostname.here" */
- /* number of DN components to show in entry displays */
-#define GO500GW_RDNCOUNT DEFAULT_RDNCOUNT
-
-/*
- * RCPT500 MAIL RESPONDER GATEWAY DEFINITIONS
- */
- /* who to bind as */
-#define RCPT500_BINDDN NULL
-#define RCPT500_BIND_CRED NULL
- /* where the helpfile lives */
-#define RCPT500_HELPFILE "%SYSCONFDIR%/rcpt500.help"
- /* maximum number of matches returned */
-#define RCPT500_SIZELIMIT 50
- /* address replies will appear to come from */
-#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"
- /* where to search */
-#define RCPT500_BASE DEFAULT_BASE
- /* attribute to use when sorting results */
-#define RCPT500_SORT_ATTR SORT_ATTR
- /* max number of hits displayed in full before a list is presented */
-#define RCPT500_LISTLIMIT 1
- /* enable ufn support */
-#define RCPT500_UFN
- /* number of DN components to show in entry displays */
-#define RCPT500_RDNCOUNT DEFAULT_RDNCOUNT
-
-/*
- * LDAPSEARCH TOOL
- */
- /* who to bind as */
-#define LDAPSEARCH_BINDDN NULL
-#define LDAPSEARCH_BIND_CRED NULL
- /* search base */
-#define LDAPSEARCH_BASE DEFAULT_BASE
-
-/*
- * LDAPMODIFY TOOL
- */
- /* who to bind as */
-#define LDAPMODIFY_BINDDN NULL
-#define LDAPMODIFY_BIND_CRED NULL
- /* search base */
-#define LDAPMODIFY_BASE DEFAULT_BASE
-
-/*
- * LDAPDELETE TOOL
- */
- /* who to bind as */
-#define LDAPDELETE_BINDDN NULL
-#define LDAPDELETE_BIND_CRED NULL
- /* search base */
-#define LDAPDELETE_BASE DEFAULT_BASE
-
-/*
- * LDAPMODRDN TOOL
- */
- /* who to bind as */
-#define LDAPMODRDN_BINDDN NULL
-#define LDAPMODRDN_BIND_CRED NULL
- /* search base */
-#define LDAPMODRDN_BASE DEFAULT_BASE
-
-/*
- * MAIL500 MAILER DEFINITIONS
- */
- /* who to bind as */
-#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 ) */
-#define MAIL500_MAXGROUPMEMBERS LDAP_NO_LIMIT
- /* timeout for all searches */
-#define MAIL500_TIMEOUT 180
- /* sendmail location - mail500 needs to exec this */
-#define MAIL500_SENDMAIL "%SENDMAIL%"
-
-/*
- * UD DEFINITIONS
- */
- /* ud configuration file */
-#define UD_CONFIG_FILE "%SYSCONFDIR%/ud.conf"
- /* default editor */
-#define UD_DEFAULT_EDITOR "%EDITOR%"
- /* default bbasename of user config file */
-#define UD_USER_CONFIG_FILE ".udrc"
- /* default user to bind as */
-#define UD_BINDDN NULL
- /* default password to bind with */
-#define UD_BIND_CRED NULL
- /* default search 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 */
-#define UD_WHERE_ALL_GROUPS_LIVE ""
-
-/*
- * FAX500 DEFINITIONS
- */
- /* what to bind as */
-#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 */
-#define FAX_MAXAMBIGUOUS 10
- /* maximum number of members allowed */
-#define FAX_MAXMEMBERS LDAP_NO_LIMIT
- /* program to send mail */
-#define FAX_SENDMAIL "%SENDMAIL%"
-
-/*
- * RP500 DEFINITIONS
- */
- /* what to bind as */
-#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 ""
-
-/*
- * SLAPD DEFINITIONS
- */
- /* location of the default slapd config file */
-#define SLAPD_DEFAULT_CONFIGFILE "%SYSCONFDIR%/slapd.conf"
- /* default sizelimit on number of entries from a search */
-#define SLAPD_DEFAULT_SIZELIMIT 500
- /* default timelimit to spend on a search */
-#define SLAPD_DEFAULT_TIMELIMIT 3600
- /* location of the slapd pid file */
-#define SLAPD_PIDFILE "%RUNDIR%/slapd.pid"
- /* location of the slapd args file */
-#define SLAPD_ARGSFILE "%RUNDIR%/slapd.args"
- /* dn of the special "monitor" entry */
-#define SLAPD_MONITOR_DN "cn=monitor"
- /* dn of the special "config" entry */
-#define SLAPD_CONFIG_DN "cn=config"
- /* minimum max ids that a single index entry can map to in ldbm */
-#define SLAPD_LDBM_MIN_MAXIDS 4000
-
-#endif /* _LDAP_CONFIG_H */
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP libraries Makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-#
-# rules to make the software
-#
-
-all: FORCE
- @echo "making all in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
- ( cd $$i; $(MAKE) $(MFLAGS) all ); \
- fi; \
- done
-
-
-#
-# rules to install the software
-#
-
-install: FORCE
- @echo "making install in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
- ( cd $$i; $(MAKE) $(MFLAGS) install ); \
- fi; \
- done
-
-#
-# rules to make clean
-#
-clean: FORCE
- @echo "making clean in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
- ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
- fi; \
- done
-
-veryclean: clean
-
-#
-# rules to make depend
-#
-#
-depend: FORCE
- @echo "making depend in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
- ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
- fi; \
- done
-
-links:
- @echo "making links in `$(PWD)`"; \
- for i in .src/*; do \
- if [ -d $$i -a $$i != ".src/RCS" ]; then \
- d=`basename $$i`; \
- ( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
- $(LN) ../.src/$$d/Make-template . ; \
- $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
- -f Make-template links ) ; \
- fi; \
- done
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# avl library makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC = ../..
-
-SRCS = avl.c
-OBJS = avl.o
-
-HDIR = ../../include
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-
-all: libavl.a
-
-libavl.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi; \
- $(RM) ../$@; \
- $(LN) libavl/$@ ../$@
-
-testavl: libavl.a testavl.o
- $(CC) $(ALDFLAGS) -o $@ testavl.o -L. -lavl $(ALIBS)
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) ../../build/version` d=`$(PWD)` \
- h=`$(HOSTNAME)` t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: all
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) libavl.a ../libavl.a testavl *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1990 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# lightweight ber library makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC = ../..
-SRCS = decode.c encode.c io.c bprint.c
-OBJS = decode.o encode.o io.o bprint.o
-
-HDIR = ../../include
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-
-all: liblber.a
-
-liblber.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi; \
- $(RM) ../$@; \
- $(LN) liblber/$@ ../$@
-
-idtest: idtest.o
- $(CC) $(ALDFLAGS) -o $@ idtest.c $(ISODEINCLUDEFLAG) \
- $(KRBINCLUDEFLAG) $(ISODELIBFLAG) $(ISODELIBS) \
- $(KRBLIBLFAG) $(KRBLIBS) $(ALIBS)
-
-etest: liblber.a etest.o
- $(CC) $(ALDFLAGS) -o $@ etest.o ./liblber.a $(ALIBS)
-
-dtest: liblber.a dtest.o
- $(CC) $(ALDFLAGS) -o $@ dtest.o ./liblber.a $(ALIBS)
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) ../../build/version` d=`$(PWD)` \
- h=`$(HOSTNAME)` t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: liblber.a FORCE
- -$(MKDIR) -p $(LIBDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 liblber.a $(LIBDIR)
- @if [ ! -z "$(RANLIB)" ]; then \
- (cd /tmp; $(RANLIB) $(LIBDIR)/liblber.a) \
- fi
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) liblber.a ../liblber.a *.o core a.out version.c dtest etest idtest
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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/lber.h
-encode.o: encode.c ../../include/lber.h
-io.o: io.c ../../include/lber.h
-bprint.o: bprint.c ../../include/lber.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP library makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC = ../..
-
-SRCS = bind.c open.c result.c error.c compare.c search.c \
- modify.c add.c modrdn.c delete.c abandon.c ufn.c cache.c \
- getfilter.c regex.c sbind.c kbind.c unbind.c friendly.c cldap.c \
- free.c disptmpl.c srchpref.c dsparse.c tmplout.c sort.c \
- getdn.c getentry.c getattr.c getvalues.c addentry.c \
- request.c getdxbyname.c os-ip.c url.c charset.c
-OBJS = bind.o open.o result.o error.o compare.o search.o \
- modify.o add.o modrdn.o delete.o abandon.o ufn.o cache.o \
- getfilter.o regex.o sbind.o kbind.o unbind.o friendly.o cldap.o \
- free.o disptmpl.o srchpref.o dsparse.o tmplout.o sort.o \
- getdn.o getentry.o getattr.o getvalues.o addentry.o \
- request.o getdxbyname.o os-ip.o url.o charset.o
-
-HDIR = ../../include
-
-INCLUDES= -I$(HDIR) $(KRBINCLUDEFLAG)
-DEFINES = $(DEFS) -DFILTERFILE="\"$(RUNTIMEETCDIR)/ldapfilter.conf\"" \
- -DTEMPLATEFILE="\"$(RUNTIMEETCDIR)/ldaptemplates.conf\""
-
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-LIBS = -L. -L../liblber -lldap -llber $(KRBLIBFLAG) $(KRBLIBS) $(ALIBS)
-
-all: libldap.a ltest ttest
-
-libldap.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi; \
- $(RM) ../$@; \
- $(LN) libldap/$@ ../$@
-
-ltest: libldap.a test.o ../liblber/liblber.a
- $(CC) $(ALDFLAGS) -o $@ test.o $(LIBS)
-
-ttest: libldap.a tmpltest.o ../liblber/liblber.a
- $(CC) $(ALDFLAGS) -o $@ tmpltest.o $(LIBS)
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) ../../build/version` d=`$(PWD)` \
- h=`$(HOSTNAME)` t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: libldap.a ldapfilter.conf ldapfriendly ldaptemplates.conf ldapsearchprefs.conf FORCE
- -$(MKDIR) -p $(LIBDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 libldap.a $(LIBDIR)
- @if [ ! -z "$(RANLIB)" ]; then \
- (cd /tmp; $(RANLIB) $(LIBDIR)/libldap.a) \
- fi
- -$(MKDIR) -p $(ETCDIR)
- -$(MV) $(ETCDIR)/ldapfriendly $(ETCDIR)/ldapfriendly-
- $(INSTALL) $(INSTALLFLAGS) -m 644 ldapfriendly $(ETCDIR)
- -$(MV) $(ETCDIR)/ldapfilter.conf $(ETCDIR)/ldapfilter.conf-
- $(INSTALL) $(INSTALLFLAGS) -m 644 ldapfilter.conf $(ETCDIR)
- -$(MV) $(ETCDIR)/ldaptemplates.conf $(ETCDIR)/ldaptemplates.conf-
- $(INSTALL) $(INSTALLFLAGS) -m 644 ldaptemplates.conf $(ETCDIR)
- -$(MV) $(ETCDIR)/ldapsearchprefs.conf $(ETCDIR)/ldapsearchprefs.conf-
- $(INSTALL) $(INSTALLFLAGS) -m 644 ldapsearchprefs.conf $(ETCDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) libldap.a ../libldap.a ltest ttest *.o core a.out *.log version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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/ldap.h
-open.o: open.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-result.o: result.c ../../include/portable.h ../../include/lber.h
-result.o: ../../include/ldap.h ldap-int.h
-error.o: error.c ../../include/lber.h ../../include/ldap.h
-compare.o: compare.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-search.o: search.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-modify.o: modify.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-add.o: add.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-modrdn.o: modrdn.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-delete.o: delete.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-abandon.o: abandon.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-ufn.o: ufn.c ../../include/lber.h ../../include/ldap.h
-cache.o: cache.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-getfilter.o: getfilter.c ../../include/lber.h ../../include/ldap.h
-getfilter.o: ../../include/regex.h
-regex.o: regex.c ../../include/portable.h
-sbind.o: sbind.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-kbind.o: kbind.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-unbind.o: unbind.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-friendly.o: friendly.c ../../include/lber.h ../../include/ldap.h
-cldap.o: cldap.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-free.o: free.c ../../include/lber.h ../../include/ldap.h
-disptmpl.o: disptmpl.c ../../include/lber.h ../../include/ldap.h
-disptmpl.o: ../../include/disptmpl.h
-srchpref.o: srchpref.c ../../include/lber.h ../../include/ldap.h
-srchpref.o: ../../include/srchpref.h
-dsparse.o: dsparse.c ../../include/lber.h ../../include/ldap.h
-tmplout.o: tmplout.c ../../include/lber.h ../../include/ldap.h
-tmplout.o: ../../include/disptmpl.h
-sort.o: sort.c ../../include/lber.h ../../include/ldap.h
-getdn.o: getdn.c ../../include/lber.h ../../include/ldap.h
-getentry.o: getentry.c ../../include/lber.h ../../include/ldap.h
-getattr.o: getattr.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-getvalues.o: getvalues.c ../../include/lber.h ../../include/ldap.h
-addentry.o: addentry.c ../../include/lber.h ../../include/ldap.h
-request.o: request.c ../../include/portable.h ../../include/lber.h
-request.o: ../../include/ldap.h ldap-int.h
-getdxbyname.o: getdxbyname.c
-os-ip.o: os-ip.c ../../include/portable.h ../../include/lber.h
-os-ip.o: ../../include/ldap.h
-url.o: url.c ../../include/lber.h ../../include/ldap.h ldap-int.h
-charset.o: charset.c
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# avl library makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC = ../..
-
-SRCS = ldbm.c
-OBJS = ldbm.o
-
-HDIR = ../../include
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-
-all: libldbm.a
-
-libldbm.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi; \
- $(RM) ../$@; \
- $(LN) libldbm/$@ ../$@
-
-testldbm: libldbm.a testldbm.o
- $(CC) $(ALDFLAGS) -o $@ testldbm.o -L. -lavl
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) ../../build/version` d=`$(PWD)` \
- h=`$(HOSTNAME)` t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: all
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) libldbm.a ../libldbm.a testldbm *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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 ../../include/ldbm.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1996 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# ldif library makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC = ../..
-
-SRCS = line64.c
-OBJS = line64.o
-
-HDIR = ../../include
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS)
-
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-
-all: libldif.a
-
-libldif.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi; \
- $(RM) ../$@; \
- $(LN) libldif/$@ ../$@
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) ../../build/version` d=`$(PWD)` \
- h=`$(HOSTNAME)` t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: all
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) libldif.a ../libldif.a *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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/lber.h ../../include/ldap.h
-line64.o: ../../include/ldif.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# lthreads library makefile
-#
-#-----------------------------------------------------------------------------
-
-LDAPSRC = ../..
-
-SRCS = thread.c stack.c
-OBJS = thread.o stack.o
-
-HDIR = ../../include
-
-INCLUDES= -I$(HDIR)
-DEFINES = $(DEFS) $(THREADS)
-
-CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
-
-all: liblthread.a
-
-liblthread.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi; \
- $(RM) ../$@; \
- $(LN) liblthread/$@ ../$@
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) ../../build/version` d=`$(PWD)` \
- h=`$(HOSTNAME)` t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: all
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) liblthread.a ../liblthread.a *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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 ../../include/lthread.h
-stack.o: stack.c ../../include/lber.h ../../include/ldap.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP libraries/macintosh Makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-#
-# rules to make the software
-#
-
-all: FORCE
-
-#
-# rules to install the software
-#
-
-install: all
-
-#
-# rules to make clean
-#
-
-clean: FORCE
-
-veryclean: clean
-
-#
-# rules to make depend
-#
-#
-depend: FORCE
-
-links:
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP libraries/msdos Makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-#
-# rules to make the software
-#
-
-all: FORCE
-
-#
-# rules to install the software
-#
-
-install: all
-
-#
-# rules to make clean
-#
-
-clean: FORCE
-
-veryclean: clean
-
-#
-# rules to make depend
-#
-#
-depend: FORCE
-
-links:
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP libraries/vms Makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-#
-# rules to make the software
-#
-
-all: FORCE
-
-#
-# rules to install the software
-#
-
-install: all
-
-#
-# rules to make clean
-#
-
-clean: FORCE
-
-veryclean: clean
-
-#
-# rules to make depend
-#
-#
-depend: FORCE
-
-links:
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1994 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP servers Makefile
-#
-#-----------------------------------------------------------------------------
-
-############################################################################
-# #
-# You should not have to edit anything below this point #
-# #
-############################################################################
-
-#
-# rules to make the software
-#
-
-all: FORCE
- @echo "making all in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
- ( cd $$i; $(MAKE) $(MFLAGS) all ); \
- fi; \
- done
-
-
-#
-# rules to install the software
-#
-
-install: FORCE
- @echo "making install in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
- ( cd $$i; $(MAKE) $(MFLAGS) install ); \
- fi; \
- done
-
-#
-# rules to make clean
-#
-
-clean: FORCE
- @echo "making clean in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
- ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
- fi; \
- done
-
-veryclean: clean
-
-#
-# rules to make depend
-#
-#
-
-depend: FORCE
- @echo "making depend in `$(PWD)`"
- @for i in *; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
- ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
- fi; \
- done
-
-links:
- @echo "making links in `$(PWD)`"; \
- for i in .src/*; do \
- if [ -d $$i -a $$i != ".src/RCS" ]; then \
- d=`basename $$i`; \
- ( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
- $(LN) ../.src/$$d/Make-template . ; \
- $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
- -f Make-template links ) ; \
- fi; \
- done
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1990 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP server daemon makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = main.c detach.c setproctitle.c request.c bind.c result.c error.c \
- search.c util.c compare.c message.c add.c delete.c modrdn.c modify.c \
- abandon.c syntax.c association.c kerberos.c certificate.c
-OBJS = main.o detach.o setproctitle.o request.o bind.o result.o error.o \
- search.o util.o compare.o message.o add.o delete.o modrdn.o modify.o \
- abandon.o syntax.o association.o kerberos.o LDAP_tables.o \
- certificate.o
-
-INCLUDES= -I. -I$(HDIR) $(ISODEINCLUDEFLAG) $(KRBINCLUDEFLAG)
-DEFINES = $(DEFS) $(SERVERDEFS)
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-LDFLAGS = -L$(LDIR) $(ISODELIBFLAG) $(KRBLIBFLAG)
-LIBS = -llber $(ISODELIBS) $(KRBLIBS) $(ALIBS)
-
-all: FORCE
- @if [ "$(HAVEISODE)" = "yes" ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) ldapd; \
- else \
- echo "uncomment the HAVEISODE=yes line in the Make-common file to build ldapd"; \
- fi
-
-
-ldapd: version.o
- $(CC) $(ALDFLAGS) -o $@ $(OBJS) version.o $(LDFLAGS) $(LIBS)
-
-sldapd: version.o
- $(CC) $(ALDFLAGS) -static -o $@ $(OBJS) version.o $(LDFLAGS) $(LIBS) -lresolv
-
-version.c: $(OBJS) $(LDIR)/liblber/liblber.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-request.o: LDAP-types.h
-
-LDAP_tables.c: ldap.py
- @if [ ! -z "$(PEPSY)" ]; then \
- $(PEPSY) -A ldap.py; \
- else \
- touch LDAP_tables.c LDAP-types.h; \
- fi
-
-LDAP-types.h: LDAP_tables.c
-
-install: FORCE
- @if [ "$(HAVEISODE)" = "yes" ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) install-ldapd; \
- else \
- echo "uncomment the HAVEISODE=yes line in the Make-common file to build and install ldapd"; \
- fi
-
-install-ldapd: $(ETCDIR) $(ETCDIR)/ldapd
-
-$(ETCDIR)/ldapd: ldapd
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldapd $(ETCDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) ldapd sldapd *.o core a.out version.c LDAP*
-
-depend: FORCE
- @if [ ! -z "$(HAVEISODE)" ]; then \
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS); \
- else \
- echo "uncomment the HAVEISODE=yes line in the Make-common file to build ldapd"; \
- fi
-
-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
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# Stand alone LDAP server daemon makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = main.c daemon.c connection.c search.c filter.c add.c charray.c \
- attr.c entry.c config.c backend.c result.c operation.c \
- dn.c compare.c modify.c delete.c modrdn.c ch_malloc.c \
- value.c ava.c bind.c unbind.c abandon.c filterentry.c \
- phonetic.c regex.c acl.c str2filter.c aclparse.c init.c \
- detach.c strdup.c tempnam.c repl.c lock.c \
- schema.c schemaparse.c monitor.c configinfo.c
-OBJS = main.o daemon.o connection.o search.o filter.o add.o charray.o \
- attr.o entry.o config.o backend.o result.o operation.o \
- dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o \
- value.o ava.o bind.o unbind.o abandon.o filterentry.o \
- phonetic.o regex.o acl.o str2filter.o aclparse.o init.o \
- detach.o strdup.o tempnam.o repl.o lock.o \
- schema.o schemaparse.o monitor.o configinfo.o
-
-INCLUDES= -I. -I$(HDIR) $(KRBINCLUDEFLAG)
-DEFINES = $(DEFS) $(SERVERDEFS)
-CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS) $(THREADS)
-LDFLAGS = -L$(LDIR) $(KRBLIBFLAG)
-LIBS = $(KRBLIBS) -llber -lldbm -lavl -llthread -lldif $(THREADSLIB) \
- $(LDBMLIB) $(ALIBS)
-
-all: FORCE
- @if [ -z "$(MAKESLAPD)" ]; then \
- echo "uncomment the MAKESLAPD line in Make-common to make slapd"; \
- exit 0; \
- else \
- echo; \
- $(MAKE) $(MFLAGS) backendslib; \
- $(MAKE) $(MFLAGS) slapd; \
- (cd tools; $(MAKE) $(MFLAGS) all); \
- fi
-
-backendslib: FORCE
- @for i in back-*; do \
- if [ -d $$i ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
- ( cd $$i; $(MAKE) $(MFLAGS) all ); \
- fi; \
- done; \
- echo; \
- $(MAKE) $(MFLAGS) libbackends.a
-
-libbackends.a: .backend
- @$(RM) -r tmp
- @$(MKDIR) tmp
- @-for i in back-*/*.a; do \
- ( \
- cd tmp; \
- $(AR) x ../$$i; \
- pre=`echo $$i | sed -e 's/\/.*$$//' -e 's/back-//'`; \
- for j in *.o; do \
- mv $$j $${pre}$$j; \
- done; \
- $(AR) ruv libbackends.a *.o 2>&1 | grep -v truncated; \
- $(RM) *.o __.SYMDEF; \
- echo "added backend library $$i"; \
- ); \
- done
- @mv -f tmp/libbackends.a ./libbackends.a
- @$(RM) -r tmp
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) libbackends.a; \
- fi
- @ls -l libbackends.a
-
-slapd: version.o
- $(CC) $(ALDFLAGS) -o slapd $(OBJS) version.o libbackends.a \
- $(LDFLAGS) $(LIBS)
-slapd.pure: version.o
- purify $(CC) $(ALDFLAGS) -o slapd.pure $(OBJS) version.o libbackends.a \
- $(LDFLAGS) $(LIBS)
-
-version.c: libbackends.a $(OBJS) $(LDIR)/liblber/liblber.a \
- $(LDIR)/libldbm/libldbm.a $(LDIR)/liblthread/liblthread.a \
- $(LDIR)/libavl/libavl.a $(LDIR)/libldif/libldif.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: all $(ETCDIR) $(ETCDIR)/slapd $(ETCDIR)/slapd.conf \
- $(ETCDIR)/slapd.at.conf $(ETCDIR)/slapd.oc.conf \
- install-tools
-
-$(ETCDIR)/slapd: slapd
- $(INSTALL) $(INSTALLFLAGS) -m 755 slapd $(ETCDIR)
-
-$(ETCDIR)/slapd.conf: slapd.conf
- $(SED) -e 's;%ETCDIR%;$(RUNTIMEETCDIR);' slapd.conf > /tmp/slapd.$$
- -$(MV) $(ETCDIR)/slapd.conf $(ETCDIR)/slapd.conf-
- $(INSTALL) $(INSTALLFLAGS) -m 644 /tmp/slapd.$$ $(ETCDIR)/slapd.conf
- $(RM) -f /tmp/slapd.$$
-
-$(ETCDIR)/slapd.at.conf: slapd.at.conf
- -$(MV) $(ETCDIR)/slapd.at.conf $(ETCDIR)/slapd.at.conf-
- $(INSTALL) $(INSTALLFLAGS) -m 644 slapd.at.conf $(ETCDIR)
-
-$(ETCDIR)/slapd.oc.conf: slapd.oc.conf
- -$(MV) $(ETCDIR)/slapd.oc.conf $(ETCDIR)/slapd.oc.conf-
- $(INSTALL) $(INSTALLFLAGS) -m 644 slapd.oc.conf $(ETCDIR)
-
-install-tools: FORCE
- (cd tools; $(MAKE) $(MFLAGS) install)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- @echo "making clean in `$(PWD)`"
- $(RM) slapd slapd.pure *.o core a.out version.c libbackends.a .backend
- @for i in back-* tools; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
- ( cd $$i; $(MAKE) $(MFLAGS) clean ); \
- fi; \
- done
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
- @for i in back-* tools; do \
- if [ -d $$i -a $$i != "RCS" ]; then \
- echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
- ( cd $$i; $(MAKE) $(MFLAGS) depend ); \
- fi; \
- done
-
-
-links:
- @echo "making links in `$(PWD)`"
- @$(LN) .src/*.[ch] .src/*.conf .
- @touch .backend
- @for i in .src/back-* .src/tools; do \
- if [ -d $$i -a $$i != ".src/RCS" ]; then \
- d=`basename $$i`; \
- ( $(MKDIR) $$d; cd $$d; $(LN) ../.src/$$d .src; \
- $(LN) ../.src/$$d/Make-template . ; \
- $(MAKE) $(MFLAGS) MKDIR="$(MKDIR)" LN="$(LN)" \
- -f Make-template 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 slap.h ../../include/avl.h
-main.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-main.o: ../../include/ldif.h ../../include/ldapconfig.h
-daemon.o: daemon.c slap.h ../../include/avl.h ../../include/lber.h
-daemon.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-daemon.o: ../../include/portable.h ../../include/ldapconfig.h
-connection.o: connection.c ../../include/portable.h slap.h ../../include/avl.h
-connection.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-connection.o: ../../include/ldif.h
-search.o: search.c slap.h ../../include/avl.h ../../include/lber.h
-search.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-search.o: ../../include/ldapconfig.h
-filter.o: filter.c slap.h ../../include/avl.h ../../include/lber.h
-filter.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-add.o: add.c slap.h ../../include/avl.h ../../include/lber.h
-add.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-charray.o: charray.c slap.h ../../include/avl.h ../../include/lber.h
-charray.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-attr.o: attr.c ../../include/portable.h slap.h ../../include/avl.h
-attr.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-attr.o: ../../include/ldif.h
-entry.o: entry.c slap.h ../../include/avl.h ../../include/lber.h
-entry.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-config.o: config.c slap.h ../../include/avl.h ../../include/lber.h
-config.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-config.o: ../../include/ldapconfig.h
-backend.o: backend.c slap.h ../../include/avl.h ../../include/lber.h
-backend.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-result.o: result.c ../../include/portable.h slap.h ../../include/avl.h
-result.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-result.o: ../../include/ldif.h
-operation.o: operation.c slap.h ../../include/avl.h ../../include/lber.h
-operation.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-dn.o: dn.c ../../include/portable.h slap.h ../../include/avl.h
-dn.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-dn.o: ../../include/ldif.h
-compare.o: compare.c slap.h ../../include/avl.h ../../include/lber.h
-compare.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-modify.o: modify.c slap.h ../../include/avl.h ../../include/lber.h
-modify.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-delete.o: delete.c slap.h ../../include/avl.h ../../include/lber.h
-delete.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-modrdn.o: modrdn.c slap.h ../../include/avl.h ../../include/lber.h
-modrdn.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-ch_malloc.o: ch_malloc.c slap.h ../../include/avl.h ../../include/lber.h
-ch_malloc.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-value.o: value.c ../../include/portable.h slap.h ../../include/avl.h
-value.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-value.o: ../../include/ldif.h
-ava.o: ava.c slap.h ../../include/avl.h ../../include/lber.h
-ava.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-bind.o: bind.c slap.h ../../include/avl.h ../../include/lber.h
-bind.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-unbind.o: unbind.c slap.h ../../include/avl.h ../../include/lber.h
-unbind.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-abandon.o: abandon.c slap.h ../../include/avl.h ../../include/lber.h
-abandon.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-filterentry.o: filterentry.c ../../include/regex.h slap.h ../../include/avl.h
-filterentry.o: ../../include/lber.h ../../include/ldap.h
-filterentry.o: ../../include/lthread.h ../../include/ldif.h
-phonetic.o: phonetic.c ../../include/portable.h slap.h ../../include/avl.h
-phonetic.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-phonetic.o: ../../include/ldif.h
-regex.o: regex.c ../../include/portable.h
-acl.o: acl.c ../../include/regex.h slap.h ../../include/avl.h
-acl.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-acl.o: ../../include/ldif.h
-str2filter.o: str2filter.c slap.h ../../include/avl.h ../../include/lber.h
-str2filter.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-aclparse.o: aclparse.c ../../include/regex.h slap.h ../../include/avl.h
-aclparse.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-aclparse.o: ../../include/ldif.h ../../include/portable.h
-init.o: init.c ../../include/portable.h slap.h ../../include/avl.h
-init.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-init.o: ../../include/ldif.h
-detach.o: detach.c ../../include/portable.h
-strdup.o: strdup.c
-tempnam.o: tempnam.c
-repl.o: repl.c slap.h ../../include/avl.h ../../include/lber.h
-repl.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-lock.o: lock.c ../../include/portable.h slap.h ../../include/avl.h
-lock.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-lock.o: ../../include/ldif.h
-schema.o: schema.c slap.h ../../include/avl.h ../../include/lber.h
-schema.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-schemaparse.o: schemaparse.c slap.h ../../include/avl.h ../../include/lber.h
-schemaparse.o: ../../include/ldap.h ../../include/lthread.h
-schemaparse.o: ../../include/ldif.h
-monitor.o: monitor.c slap.h ../../include/avl.h ../../include/lber.h
-monitor.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-monitor.o: ../../include/ldapconfig.h
-configinfo.o: configinfo.c slap.h ../../include/avl.h ../../include/lber.h
-configinfo.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h
-configinfo.o: ../../include/ldapconfig.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# ldbm backend to stand-alone LDAP server makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = idl.c add.c search.c cache.c dbcache.c dn2id.c id2entry.c \
- index.c id2children.c nextid.c abandon.c compare.c \
- modify.c modrdn.c delete.c init.c config.c bind.c attr.c \
- filterindex.c unbind.c kerberos.c close.c
-OBJS = idl.o add.o search.o cache.o dbcache.o dn2id.o id2entry.o \
- index.o id2children.o nextid.o abandon.o compare.o \
- modify.o modrdn.o delete.o init.o config.o bind.o attr.o \
- filterindex.o unbind.o kerberos.o close.o
-
-INCLUDES= -I. -I.. -I$(HDIR) $(KRBINCLUDEFLAG)
-DEFINES = $(DEFS) $(THREADS)
-CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
-LDFLAGS = -L$(LDIR) $(KRBLIBFLAG)
-
-all: FORCE
- -@echo "$(SLAPD_BACKENDS)" | grep LDAP_LDBM 2>&1 > /dev/null; \
- if [ $$? = 0 ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) libback-ldbm.a; \
- else \
- echo "Include -DLDAP_LDBM in SLAPD_BACKENDS in the"; \
- echo "Make-common file to build the ldbm backend"; \
- fi
-
-libback-ldbm.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi
- @touch ../.backend
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) libback-ldbm.a *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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 ../slap.h ../../../include/avl.h ../../../include/lber.h
-idl.o: ../../../include/ldap.h ../../../include/lthread.h
-idl.o: ../../../include/ldif.h ../../../include/ldapconfig.h back-ldbm.h
-idl.o: ../../../include/ldbm.h
-add.o: add.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-add.o: ../../../include/ldap.h ../../../include/lthread.h
-add.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-search.o: search.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-search.o: ../../../include/ldap.h ../../../include/lthread.h
-search.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-cache.o: cache.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-cache.o: ../../../include/ldap.h ../../../include/lthread.h
-cache.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-dbcache.o: dbcache.c ../../../include/portable.h ../slap.h
-dbcache.o: ../../../include/avl.h ../../../include/lber.h
-dbcache.o: ../../../include/ldap.h ../../../include/lthread.h
-dbcache.o: ../../../include/ldif.h ../../../include/ldapconfig.h back-ldbm.h
-dbcache.o: ../../../include/ldbm.h
-dn2id.o: dn2id.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-dn2id.o: ../../../include/ldap.h ../../../include/lthread.h
-dn2id.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-id2entry.o: id2entry.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-id2entry.o: ../../../include/ldap.h ../../../include/lthread.h
-id2entry.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-index.o: index.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-index.o: ../../../include/ldap.h ../../../include/lthread.h
-index.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-id2children.o: id2children.c ../slap.h ../../../include/avl.h
-id2children.o: ../../../include/lber.h ../../../include/ldap.h
-id2children.o: ../../../include/lthread.h ../../../include/ldif.h back-ldbm.h
-id2children.o: ../../../include/ldbm.h
-nextid.o: nextid.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-nextid.o: ../../../include/ldap.h ../../../include/lthread.h
-nextid.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-abandon.o: abandon.c
-compare.o: compare.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-compare.o: ../../../include/ldap.h ../../../include/lthread.h
-compare.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-modify.o: modify.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-modify.o: ../../../include/ldap.h ../../../include/lthread.h
-modify.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-modrdn.o: modrdn.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-modrdn.o: ../../../include/ldap.h ../../../include/lthread.h
-modrdn.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-delete.o: delete.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-delete.o: ../../../include/ldap.h ../../../include/lthread.h
-delete.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-init.o: init.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-init.o: ../../../include/ldap.h ../../../include/lthread.h
-init.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-config.o: config.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-config.o: ../../../include/ldap.h ../../../include/lthread.h
-config.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-bind.o: bind.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-bind.o: ../../../include/ldap.h ../../../include/lthread.h
-bind.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-attr.o: attr.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-attr.o: ../../../include/ldap.h ../../../include/lthread.h
-attr.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-filterindex.o: filterindex.c ../slap.h ../../../include/avl.h
-filterindex.o: ../../../include/lber.h ../../../include/ldap.h
-filterindex.o: ../../../include/lthread.h ../../../include/ldif.h back-ldbm.h
-filterindex.o: ../../../include/ldbm.h
-unbind.o: unbind.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-unbind.o: ../../../include/ldap.h ../../../include/lthread.h
-unbind.o: ../../../include/ldif.h
-kerberos.o: kerberos.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-kerberos.o: ../../../include/ldap.h ../../../include/lthread.h
-kerberos.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-close.o: close.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-close.o: ../../../include/ldap.h ../../../include/lthread.h
-close.o: ../../../include/ldif.h back-ldbm.h ../../../include/ldbm.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# /etc/passwd file backend to stand-alone LDAP server makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = search.c config.c
-OBJS = search.o config.o
-
-INCLUDES= -I. -I.. -I$(HDIR)
-DEFINES = $(DEFS) $(THREADS)
-CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
-
-all: FORCE
- -@echo "$(SLAPD_BACKENDS)" | grep LDAP_PASSWD 2>&1 > /dev/null; \
- if [ $$? = 0 ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) libback-passwd.a; \
- else \
- echo "Include -DLDAP_PASSWD in SLAPD_BACKENDS in the"; \
- echo "Make-common file to build the passwd backend"; \
- fi
-
-
-libback-passwd.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi
- @touch ../.backend
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: FORCE
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) libback-passwd.a *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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 ../slap.h ../../../include/avl.h
-search.o: ../../../include/lber.h ../../../include/ldap.h
-search.o: ../../../include/lthread.h ../../../include/ldif.h
-config.o: config.c ../../../include/portable.h ../slap.h ../../../include/avl.h
-config.o: ../../../include/lber.h ../../../include/ldap.h
-config.o: ../../../include/lthread.h ../../../include/ldif.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# shell backend to stand-alone LDAP server makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = init.c config.c fork.c search.c bind.c unbind.c add.c delete.c \
- modify.c modrdn.c compare.c abandon.c result.c
-OBJS = init.o config.o fork.o search.o bind.o unbind.o add.o delete.o \
- modify.o modrdn.o compare.o abandon.o result.o
-
-INCLUDES= -I. -I.. -I$(HDIR)
-DEFINES = $(DEFS) $(THREADS)
-CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
-
-all: FORCE
- -@echo "$(SLAPD_BACKENDS)" | grep LDAP_SHELL 2>&1 > /dev/null; \
- if [ $$? = 0 ]; then \
- $(MAKE) $(MFLAGS) CC=$(CC) libback-shell.a; \
- else \
- echo "Include -DLDAP_SHELL in SLAPD_BACKENDS in the"; \
- echo "Make-common file to build the shell backend"; \
- fi
-
-
-libback-shell.a: version.o
- $(AR) ruv $@ $(OBJS) version.o
- @if [ ! -z "$(RANLIB)" ]; then \
- $(RANLIB) $@; \
- fi
- @touch ../.backend
-
-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: FORCE
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) libback-shell.a *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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 ../slap.h ../../../include/avl.h ../../../include/lber.h
-init.o: ../../../include/ldap.h ../../../include/lthread.h
-init.o: ../../../include/ldif.h shell.h
-config.o: config.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-config.o: ../../../include/ldap.h ../../../include/lthread.h
-config.o: ../../../include/ldif.h shell.h
-fork.o: fork.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-fork.o: ../../../include/ldap.h ../../../include/lthread.h
-fork.o: ../../../include/ldif.h
-search.o: search.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-search.o: ../../../include/ldap.h ../../../include/lthread.h
-search.o: ../../../include/ldif.h shell.h
-bind.o: bind.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-bind.o: ../../../include/ldap.h ../../../include/lthread.h
-bind.o: ../../../include/ldif.h shell.h
-unbind.o: unbind.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-unbind.o: ../../../include/ldap.h ../../../include/lthread.h
-unbind.o: ../../../include/ldif.h shell.h
-add.o: add.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-add.o: ../../../include/ldap.h ../../../include/lthread.h
-add.o: ../../../include/ldif.h shell.h
-delete.o: delete.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-delete.o: ../../../include/ldap.h ../../../include/lthread.h
-delete.o: ../../../include/ldif.h shell.h
-modify.o: modify.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-modify.o: ../../../include/ldap.h ../../../include/lthread.h
-modify.o: ../../../include/ldif.h shell.h
-modrdn.o: modrdn.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-modrdn.o: ../../../include/ldap.h ../../../include/lthread.h
-modrdn.o: ../../../include/ldif.h shell.h
-compare.o: compare.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-compare.o: ../../../include/ldap.h ../../../include/lthread.h
-compare.o: ../../../include/ldif.h shell.h
-abandon.o: abandon.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-abandon.o: ../../../include/ldap.h ../../../include/lthread.h
-abandon.o: ../../../include/ldif.h shell.h
-result.o: result.c ../slap.h ../../../include/avl.h ../../../include/lber.h
-result.o: ../../../include/ldap.h ../../../include/lthread.h
-result.o: ../../../include/ldif.h shell.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# makefile for shell backends to use with stand-alone LDAP server
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-CMNSRCS = shellutil.c
-CMNOBJS = shellutil.o
-
-PWDSRCS = passwd-shell.c
-PWDOBJS = passwd-shell.o pwd-version.o
-
-INCLUDES= -I. -I.. -I$(HDIR)
-DEFINES = $(DEFS) $(THREADS)
-CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS)
-LDFLAGS = -L$(LDIR) $(KRBLIBFLAG)
-LIBS = -llber $(KRBLIBS) $(ALIBS)
-
-all: passwd-shell
-
-passwd-shell: $(PWDOBJS) $(CMNOBJS)
- $(CC) $(ALDFLAGS) -o $@ $(PWDOBJS) $(CMNOBJS) \
- $(LDFLAGS) $(LIBS)
-
-pwd-version.c: $(OBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < pwd-Version.c > $@)
-
-install: FORCE
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- $(RM) passwd-shell pwd-version.c *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# Stand alone LDAP server tools makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-EDB2LDIFSRCS = edb2ldif.c ldapsyntax.c
-EDB2LDIFOBJS = edb2ldif.o ldapsyntax.o ../strdup.o
-
-OBJS2 = ../config.o ../ch_malloc.o ../backend.o ../charray.o \
- ../aclparse.o ../schema.o ../result.o ../filterentry.o \
- ../acl.o ../phonetic.o ../attr.o ../value.o ../entry.o \
- ../dn.o ../filter.o ../str2filter.o ../ava.o ../init.o \
- ../schemaparse.o ../strdup.o
-
-INCLUDES= -I. -I$(HDIR) $(EXINCLUDES)
-DEFINES = $(DEFS) $(LDAP_CRYPT) $(SERVERDEFS) $(THREADS)
-CFLAGS = $(INCLUDES) $(DEFINES) $(ACFLAGS)
-LDFLAGS = -L$(LDIR) $(EXLDFLAGS)
-LIBS = -lldif -lldap -llber -lldbm -llutil -lavl $(LDBMLIB) $(EXLIBS) $(ALIBS)
-LIBS2 = -lldif -lldbm -llutil -lavl $(LDBMLIB) -llber $(KRBLIBFLAG) $(KRBLIBS) \
- -llthread $(THREADSLIB) $(ALIBS) $(LDAP_CRYPT_LIB)
-
-all: build-edb2ldif ldif2index ldif2ldbm ldbmcat ldif2id2entry \
- ldif2id2children centipede ldbmtest ldif
-
-build-edb2ldif: FORCE
- @if [ "$(HAVEISODE)" = "yes" ]; then \
- $(MAKE) $(MFLAGS) CC="$(CC)" EXINCLUDES="$(ISODEINCLUDEFLAG)" \
- EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" edb2ldif; \
- else \
- echo "uncomment the HAVEISODE=yes line in the Make-common file to build edb2ldif"; \
- fi
-
-edb2ldif: edb2-vers.o
- $(CC) $(ALDFLAGS) -o $@ $(EDB2LDIFOBJS) edb2-vers.o \
- $(LDFLAGS) $(LIBS)
-
-edb2-vers.c: $(EDB2LDIFOBJS)
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Vers-edb2.c > $@)
-
-build-chlog2replog: FORCE
- @if [ "$(HAVEISODE)" = "yes" ]; then \
- $(MAKE) $(MFLAGS) CC="$(CC)" EXINCLUDES="$(ISODEINCLUDEFLAG)" \
- EXLDFLAGS="$(ISODELIBFLAG)" EXLIBS="$(ISODELIBS)" chlog2replog; \
- else \
- echo "uncomment the HAVEISODE=yes line in the Make-common file to build chlog2replog"; \
- fi
-
-chlog2replog: chlog2replog.o ../lock.o ../ch_malloc.o
- $(CC) $(ALDFLAGS) -o $@ chlog2replog.o ../lock.o ../ch_malloc.o \
- $(LDFLAGS) $(LIBS)
-
-ldif2index: ldif2index.o ../libbackends.a $(OBJS2)
- $(CC) $(ALDFLAGS) -o $@ ldif2index.o $(OBJS2) \
- ../libbackends.a $(LDFLAGS) $(LIBS2)
-
-ldif2ldbm: ldif2ldbm.o ../libbackends.a $(OBJS2)
- $(CC) $(ALDFLAGS) -o $@ ldif2ldbm.o $(OBJS2) \
- ../libbackends.a $(LDFLAGS) $(LIBS2)
-
-ldif2id2entry: ldif2id2entry.o ../libbackends.a $(OBJS2)
- $(CC) $(ALDFLAGS) -o $@ ldif2id2entry.o $(OBJS2) \
- ../libbackends.a $(LDFLAGS) $(LIBS2)
-
-ldif2id2children: ldif2id2children.o ../libbackends.a $(OBJS2)
- $(CC) $(ALDFLAGS) -o $@ ldif2id2children.o $(OBJS2) \
- ../libbackends.a $(LDFLAGS) $(LIBS2)
-
-ldbmcat: ldbmcat.o
- $(CC) $(ALDFLAGS) -o $@ ldbmcat.o $(LDFLAGS) $(LIBS)
-
-ldif: ldif.o
- $(CC) $(ALDFLAGS) -o $@ ldif.o $(LDFLAGS) $(LIBS) $(LIBS2)
-
-centipede: centipede.o
- $(CC) $(ALDFLAGS) -o $@ centipede.o $(LDFLAGS) $(LIBS) \
- $(KRBLIBFLAG) $(KRBLIBS)
-
-sizecount: sizecount.o ../phonetic.o ../ch_malloc.o
- $(CC) $(ALDFLAGS) -o $@ sizecount.o ../phonetic.o ../ch_malloc.o \
- $(LDFLAGS) $(LIBS) $(KRBLIBFLAG) $(KRBLIBS)
-
-ldbmtest: ldbmtest.o ../libbackends.a $(OBJS2)
- $(CC) $(ALDFLAGS) -o ldbmtest ldbmtest.o $(OBJS2) \
- ../libbackends.a $(LDFLAGS) $(LIBS2)
-
-install: $(LDAP_SBINDIR) $(LDAP_SBINDIR)/edb2ldif $(LDAP_SBINDIR)/ldif2ldbm \
- $(LDAP_SBINDIR)/ldif2index $(LDAP_SBINDIR)/ldif2id2entry \
- $(LDAP_SBINDIR)/ldif2id2children $(LDAP_SBINDIR)/ldbmcat \
- $(LDAP_SBINDIR)/centipede $(LDAP_SBINDIR)/ldbmtest \
- $(LDAP_SBINDIR)/ldif
-
-$(LDAP_SBINDIR)/edb2ldif: build-edb2ldif
- @if [ "$(HAVEISODE)" = "yes" ]; then \
- $(INSTALL) $(INSTALLFLAGS) -m 755 edb2ldif $(LDAP_SBINDIR); \
- else \
- exit 0; \
- fi
-
-$(LDAP_SBINDIR)/chlog2replog: build-chlog2replog
- @if [ "$(HAVEISODE)" = "yes" ]; then \
- $(INSTALL) $(INSTALLFLAGS) -m 755 chlog2replog $(LDAP_SBINDIR); \
- else \
- exit 0; \
- fi
-
-$(LDAP_SBINDIR)/ldif2ldbm: ldif2ldbm
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldif2ldbm $(LDAP_SBINDIR)
-
-$(LDAP_SBINDIR)/ldif2index: ldif2index
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldif2index $(LDAP_SBINDIR)
-
-$(LDAP_SBINDIR)/ldif2id2entry: ldif2id2entry
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldif2id2entry $(LDAP_SBINDIR)
-
-$(LDAP_SBINDIR)/ldif2id2children: ldif2id2children
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldif2id2children $(LDAP_SBINDIR)
-
-$(LDAP_SBINDIR)/ldbmcat: ldbmcat
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldbmcat $(LDAP_SBINDIR)
-
-$(LDAP_SBINDIR)/ldif: ldif
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldif $(LDAP_SBINDIR)
-
-$(LDAP_SBINDIR)/centipede: centipede
- $(INSTALL) $(INSTALLFLAGS) -m 755 centipede $(LDAP_SBINDIR)
-
-$(LDAP_SBINDIR)/ldbmtest: ldbmtest
- $(INSTALL) $(INSTALLFLAGS) -m 755 ldbmtest $(LDAP_SBINDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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 ldbmtest
-
-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 ldbmtest.c ldif.c
-
-links:
- @echo "making links in `$(PWD)`"
- @$(LN) .src/*.[ch] .
-
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1995 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# Stand-alone LDAP Update RePlication Daemon makefile
-#
-#-----------------------------------------------------------------------------
-LDAPSRC = ../..
-HDIR = $(LDAPSRC)/include
-LDIR = $(LDAPSRC)/libraries
-VERSIONFILE = $(LDAPSRC)/build/version
-
-SRCS = admin.c args.c ch_malloc.c config.c detach.c \
- fm.c globals.c ldap_op.c lock.c main.c re.c \
- reject.c replica.c replog.c ri.c rq.c sanity.c st.c \
- tsleep.c
-
-OBJS = admin.o args.o ch_malloc.o config.o detach.o \
- fm.o globals.o ldap_op.o lock.o main.o re.o \
- reject.o replica.o replog.o ri.o rq.o sanity.o st.o \
- tsleep.o
-
-INCLUDES= -I. -I$(HDIR) $(KRBINCLUDEFLAG)
-DEFINES = $(DEFS) $(SERVERDEFS)
-CFLAGS = $(INCLUDES) $(THREADSINCLUDE) $(DEFINES) $(ACFLAGS) $(THREADS)
-LDFLAGS = -L$(LDIR) $(KRBLIBFLAG)
-LIBS = -lldap -llber -lm -llthread -lldif $(THREADSLIB) $(KRBLIBS) \
- $(ALIBS)
-
-all: FORCE
- @if [ -z "$(MAKESLAPD)" ]; then \
- echo "uncomment the MAKESLAPD line in Make-common to make slurpd"; \
- exit 0; \
- else \
- make slurpd; \
- fi
-
-slurpd: version.o
- $(CC) $(ALDFLAGS) -o $@ $(OBJS) version.o $(LDFLAGS) $(LIBS)
-
-slurpd.pure: version.o
- purify $(CC) $(ALDFLAGS) -o $@ $(OBJS) version.o $(LDFLAGS) $(LIBS)
-
-version.c: $(OBJS) $(LDIR)/liblber/liblber.a $(LDIR)/libldap/libldap.a
- $(RM) $@
- (u=$${USER-root} v=`$(CAT) $(VERSIONFILE)` d=`$(PWD)` h=`$(HOSTNAME)` \
- t=`$(DATE)`; $(SED) -e "s|%WHEN%|$${t}|" \
- -e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
- -e "s|%VERSION%|$${v}|" \
- < Version.c > $@)
-
-install: $(ETCDIR) $(ETCDIR)/slurpd
-
-$(ETCDIR)/slurpd: slurpd
- $(INSTALL) $(INSTALLFLAGS) -m 755 slurpd $(ETCDIR)
-
-lint: FORCE
- $(LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-5lint: FORCE
- $(5LINT) $(INCLUDES) $(DEFINES) $(SRCS)
-
-clean: FORCE
- @echo "making clean in `$(PWD)`"
- $(RM) slurpd *.o core a.out version.c
-
-depend: FORCE
- $(MKDEP) $(INCLUDES) $(DEFINES) $(SRCS)
-
-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 slurp.h ../../include/lber.h ../../include/ldap.h
-admin.o: ../../include/lthread.h ../../include/portable.h
-admin.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-args.o: args.c ../../include/lber.h ../../include/ldap.h slurp.h
-args.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-args.o: ../../include/portable.h ../../include/ldapconfig.h
-args.o: ../../include/ldif.h globals.h slurp.h
-ch_malloc.o: ch_malloc.c ../slapd/slap.h ../../include/avl.h
-ch_malloc.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-ch_malloc.o: ../../include/ldif.h
-config.o: config.c ../../include/lber.h ../../include/ldap.h slurp.h
-config.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-config.o: ../../include/portable.h ../../include/ldapconfig.h
-config.o: ../../include/ldif.h globals.h slurp.h
-detach.o: detach.c ../../include/portable.h
-fm.o: fm.c slurp.h ../../include/lber.h ../../include/ldap.h
-fm.o: ../../include/lthread.h ../../include/portable.h
-fm.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-globals.o: globals.c slurp.h ../../include/lber.h ../../include/ldap.h
-globals.o: ../../include/lthread.h ../../include/portable.h
-globals.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-ldap_op.o: ldap_op.c ../../include/lber.h ../../include/ldap.h
-ldap_op.o: ../../include/portable.h slurp.h ../../include/lber.h
-ldap_op.o: ../../include/ldap.h ../../include/lthread.h
-ldap_op.o: ../../include/portable.h ../../include/ldapconfig.h
-ldap_op.o: ../../include/ldif.h
-lock.o: lock.c ../../include/portable.h ../slapd/slap.h ../../include/avl.h
-lock.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-lock.o: ../../include/ldif.h
-main.o: main.c slurp.h ../../include/lber.h ../../include/ldap.h
-main.o: ../../include/lthread.h ../../include/portable.h
-main.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-re.o: re.c ../slapd/slap.h ../../include/avl.h ../../include/lber.h
-re.o: ../../include/ldap.h ../../include/lthread.h ../../include/ldif.h slurp.h
-re.o: ../../include/lber.h ../../include/ldap.h ../../include/lthread.h
-re.o: ../../include/portable.h ../../include/ldapconfig.h ../../include/ldif.h
-re.o: globals.h slurp.h
-reject.o: reject.c slurp.h ../../include/lber.h ../../include/ldap.h
-reject.o: ../../include/lthread.h ../../include/portable.h
-reject.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-replica.o: replica.c slurp.h ../../include/lber.h ../../include/ldap.h
-replica.o: ../../include/lthread.h ../../include/portable.h
-replica.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-replog.o: replog.c ../../include/portable.h slurp.h ../../include/lber.h
-replog.o: ../../include/ldap.h ../../include/lthread.h ../../include/portable.h
-replog.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-ri.o: ri.c slurp.h ../../include/lber.h ../../include/ldap.h
-ri.o: ../../include/lthread.h ../../include/portable.h
-ri.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-rq.o: rq.c slurp.h ../../include/lber.h ../../include/ldap.h
-rq.o: ../../include/lthread.h ../../include/portable.h
-rq.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-sanity.o: sanity.c slurp.h ../../include/lber.h ../../include/ldap.h
-sanity.o: ../../include/lthread.h ../../include/portable.h
-sanity.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-sanity.o: ../../include/portable.h
-st.o: st.c slurp.h ../../include/lber.h ../../include/ldap.h
-st.o: ../../include/lthread.h ../../include/portable.h
-st.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-tsleep.o: tsleep.c slurp.h ../../include/lber.h ../../include/ldap.h
-tsleep.o: ../../include/lthread.h ../../include/portable.h
-tsleep.o: ../../include/ldapconfig.h ../../include/ldif.h globals.h slurp.h
-
-# IF YOU PUT ANYTHING HERE IT WILL GO AWAY
+++ /dev/null
-#-----------------------------------------------------------------------------
-# Copyright (c) 1996 Regents of the University of Michigan.
-# All rights reserved.
-#
-# Redistribution and use in source and binary forms are permitted
-# provided that this notice is preserved and that due credit is given
-# to the University of Michigan at Ann Arbor. The name of the University
-# may not be used to endorse or promote products derived from this
-# software without specific prior written permission. This software
-# is provided ``as is'' without express or implied warranty.
-#
-# LDAP tests Make template file
-#
-#-----------------------------------------------------------------------------
-
-SCRIPTSDIR=./scripts
-
-all: FORCE
- @echo "Initiating LDAP tests..."; \
- $(SCRIPTSDIR)/all $(SCRIPTSDIR)
-
-install: FORCE
-
-depend: FORCE
-
-clean: FORCE
- $(RM) test-db/* test-repl/*
-
-veryclean: clean
-
-links:
- @echo "making links in `$(PWD)`"; \
- $(LN) .src/scripts . ; \
- $(LN) .src/data . ; \
- $(MKDIR) test-db test-repl