summaryrefslogtreecommitdiffstats
path: root/ldap
diff options
context:
space:
mode:
Diffstat (limited to 'ldap')
-rw-r--r--ldap/Makefile107
-rw-r--r--ldap/admin/Makefile64
-rw-r--r--ldap/admin/include/Makefile68
-rw-r--r--ldap/admin/lib/Makefile126
-rw-r--r--ldap/admin/src/Makefile391
-rw-r--r--ldap/clients/dsgw/dsgw_include.mk54
-rw-r--r--ldap/include/Makefile81
-rw-r--r--ldap/include/Makefile.client86
-rw-r--r--ldap/javarules.mk131
-rw-r--r--ldap/libraries/Makefile396
-rw-r--r--ldap/libraries/libavl/Makefile80
-rw-r--r--ldap/nsdeps.mk91
-rw-r--r--ldap/nsldap.mk1819
-rw-r--r--ldap/servers/Makefile109
-rw-r--r--ldap/servers/plugins/Makefile152
-rw-r--r--ldap/servers/plugins/acl/Makefile124
-rw-r--r--ldap/servers/plugins/chainingdb/Makefile124
-rw-r--r--ldap/servers/plugins/collation/Makefile130
-rw-r--r--ldap/servers/plugins/cos/Makefile107
-rw-r--r--ldap/servers/plugins/dna/Makefile115
-rw-r--r--ldap/servers/plugins/http/Makefile108
-rw-r--r--ldap/servers/plugins/pam_passthru/Makefile124
-rw-r--r--ldap/servers/plugins/passthru/Makefile121
-rw-r--r--ldap/servers/plugins/presence/Makefile116
-rw-r--r--ldap/servers/plugins/pwdstorage/Makefile150
-rw-r--r--ldap/servers/plugins/referint/Makefile103
-rw-r--r--ldap/servers/plugins/replication/Makefile191
-rw-r--r--ldap/servers/plugins/retrocl/Makefile165
-rw-r--r--ldap/servers/plugins/rever/Makefile142
-rw-r--r--ldap/servers/plugins/roles/Makefile123
-rw-r--r--ldap/servers/plugins/shared/Makefile87
-rw-r--r--ldap/servers/plugins/statechange/Makefile106
-rw-r--r--ldap/servers/plugins/syntaxes/Makefile118
-rw-r--r--ldap/servers/plugins/uiduniq/Makefile131
-rw-r--r--ldap/servers/plugins/vattrsp_template/Makefile110
-rw-r--r--ldap/servers/plugins/views/Makefile107
-rw-r--r--ldap/servers/slapd/Makefile298
-rw-r--r--ldap/servers/slapd/back-ldbm/Makefile222
-rw-r--r--ldap/servers/slapd/back-ldbm/tools/index_dump/Makefile72
-rw-r--r--ldap/servers/slapd/back-ldif/Makefile112
-rw-r--r--ldap/servers/slapd/libsh_stub/Makefile90
-rw-r--r--ldap/servers/slapd/ntmsgdll/Makefile93
-rw-r--r--ldap/servers/slapd/ntperfdll/Makefile84
-rw-r--r--ldap/servers/slapd/ntwdog/Makefile91
-rw-r--r--ldap/servers/slapd/tools/Makefile216
-rw-r--r--ldap/servers/slapd/tools/ldclt/Makefile138
-rw-r--r--ldap/servers/slapd/tools/rsearch/Makefile155
-rw-r--r--ldap/servers/snmp/Makefile141
-rw-r--r--ldap/servers/snmp/ntagt/Makefile134
-rw-r--r--ldap/systools/Makefile131
50 files changed, 0 insertions, 8334 deletions
diff --git a/ldap/Makefile b/ldap/Makefile
deleted file mode 100644
index fa1756b3..00000000
--- a/ldap/Makefile
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-
-# GNU Makefile for Directory Server and Ldap SDK
-#
-
-BUILD_ROOT = ..
-LDAP_SRC = $(BUILD_ROOT)/ldap
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-all: $(LDAP_LIBDIR) $(LDAP_BINDIR) $(LDAP_OBJDIR) ldapprogs ldapdocs
-
-ldapprogs:
- cd include; $(MAKE) $(MFLAGS) all
- cd libraries; $(MAKE) $(MFLAGS) buildDirectory
- cd servers; $(MAKE) $(MFLAGS) all
-ifneq ($(ARCH), WINNT)
- cd systools; $(MAKE) $(MFLAGS) all
- # new unix installer
-ifeq ($(USE_SETUPUTIL), 1)
- cd cm/newinst; $(MAKE) $(MFLAGS) all
-endif # USE_SETUPUTIL
-else # not WINNT
-ifeq ($(USE_SETUPUTIL), 1)
- cd cm/newinstnt; $(MAKE) $(MFLAGS) all
-endif # USE_SETUPUTIL
-endif # WINNT
- cd admin; $(MAKE) $(MFLAGS) all
-ifeq ($(ARCH), WINNT)
- cd synctools; $(MAKE) all
-endif
-
-ldapdocs:
- if [ -d docs ]; then cd docs/dirhlp; $(MAKE) $(MFLAGS) ; fi
-
-clientSDK: $(LDAP_LIBDIR) $(LDAP_BINDIR) $(LDAP_OBJDIR)
- cd include; $(MAKE) $(MFLAGS) clientSDK
-ifeq ($(ARCH), WINNT)
- cd servers/slapd/ntmsgdll; $(MAKE) $(MFLAGS) all
-endif
- cd libraries; $(MAKE) $(MFLAGS) clientSDK
- cd clients/tools; $(MAKE) $(MFLAGS) clientSDK
-
-clean:
- cd include; $(MAKE) $(MFLAGS) clean
- cd libraries; $(MAKE) $(MFLAGS) clean
- cd servers; $(MAKE) $(MFLAGS) clean
- cd admin; $(MAKE) $(MFLAGS) clean
-ifneq ($(ARCH), WINNT) # new unix installer
- cd systools; $(MAKE) $(MFLAGS) clean
- cd cm/newinst; $(MAKE) $(MFLAGS) clean
-else
- cd cm/newinstnt; $(MAKE) $(MFLAGS) clean
-endif
-
-cleanSDK:
- cd include; $(MAKE) $(MFLAGS) clean
-ifeq ($(ARCH), WINNT)
- cd servers/slapd/ntmsgdll; $(MAKE) $(MFLAGS) clean
-endif
- cd libraries; $(MAKE) $(MFLAGS) clean
- cd clients/tools; $(MAKE) $(MFLAGS) clean
-
-veryclean: clean
diff --git a/ldap/admin/Makefile b/ldap/admin/Makefile
deleted file mode 100644
index 6155b73c..00000000
--- a/ldap/admin/Makefile
+++ /dev/null
@@ -1,64 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server Admin components
-#
-
-BUILD_ROOT = ../..
-LDAP_SRC = ../
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-all:
- cd include; $(MAKE) $(MFLAGS) all
- cd lib; $(MAKE) $(MFLAGS) all
- cd src; $(MAKE) $(MFLAGS) all
-
-veryclean: clean
-
-clean:
- cd include; $(MAKE) $(MFLAGS) clean
- cd lib; $(MAKE) $(MFLAGS) clean
- cd src; $(MAKE) $(MFLAGS) clean
diff --git a/ldap/admin/include/Makefile b/ldap/admin/include/Makefile
deleted file mode 100644
index fbc00719..00000000
--- a/ldap/admin/include/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server Admin include directory.
-#
-
-BUILD_ROOT = ../../..
-LDAP_SRC = ../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-HDRDEST=$(LDAP_ADMROOT)/include
-
-HEADERS=dsalib.h dsalib_pw.h
-BINS=$(addprefix $(HDRDEST)/,$(HEADERS))
-
-all: $(HDRDEST) $(BINS)
-
-strip:
-depend:
-
-clean:
- -$(RM) $(BINS)
-
-$(HDRDEST)/%.h: %.h
- -@$(RM) $@
- $(CP) $< $@
diff --git a/ldap/admin/lib/Makefile b/ldap/admin/lib/Makefile
deleted file mode 100644
index 6cd37b77..00000000
--- a/ldap/admin/lib/Makefile
+++ /dev/null
@@ -1,126 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server Admin DLL/SO.
-#
-
-LDAP_SRC = ../..
-BUILD_ROOT = ../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(LDAP_ADMOBJDIR)
-LIBDIR = $(LDAP_LIBDIR)
-ALIBDIR = $(LDAP_ADMLIBDIR)
-BINDIR=$(LDAP_ADMIN_BIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-SRCS = dsalib_location.c dsalib_debug.c dsalib_updown.c dsalib_tailf.c \
- dsalib_ldif.c dsalib_db.c dsalib_conf.c dsalib_html.c \
- dsalib_filename.c dsalib_util.c dsalib_dn.c dsalib_confs.c dsalib_pw.c
-
-OBJS = $(addprefix $(OBJDEST)/, $(subst .c,.o,$(SRCS)))
-
-INCLUDES += -I$(LDAP_SRC)/admin/include
-
-SECURITYLINK += -lsoftokn3
-
-EXTRA_LIBS += $(LDAP_COMMON_LIBS) $(SECURITYLINK) $(NSPRLINK)
-
-LIBS= $(LDAP_ADMDLLDIR)/libds_admin$(DLL_PRESUF).$(DLL_SUFFIX)
-ifeq ($(ARCH), WINNT)
-IMPLIB= /IMPLIB:$(LDAP_ADMLIBDIR)/libds_admin.lib
-MAPFILE= /MAP:$(LDAP_ADMLIBDIR)/libds_admin.map
-EXTRA_LIBS_DEP += $(LDAP_COMMON_LIBS_DEP) $(LDAP_LIBLDIF_DEP)
-#EXTRA_LIBS += $(LDAP_COMMON_LIBS) $(LDAP_LIBLDIF) $(LDAP_SDK_LIBLDAP_DLL) \
-# $(ADMINUTIL_LINK) $(SECURITYLINK) $(NSPRLINK)
-endif # WINNT
-
-ifeq ($(ARCH), Linux)
-# XXXsspitzer: we do this so that cgi's the link against libds_admin.so
-# will be able to find libns-dshttpd.so at run time. Only platforms that
-# build with gcc need to do this.
-RPATHFLAG_EXTRAS+=:../..:..
-endif # Linux
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP)
-#EXTRA_LIBS += $(LDAP_SDK_LIBLDAP_DLL) $(SECURITYLINK) $(ADMINUTIL_LINK) $(NSPRLINK) $(DBMLINK)
-LD=ld -noquiet
-endif
-
-# for Solaris, our most common unix build platform, we check for undefined symbols
-# at link time so we don't catch them at run time. To do this, we set the -z defs
-# flag. We also have to add -lc to the end because, even though ld and cc link with
-# it implicitly, -z defs will throw errors if we do not link with it explicitly
-ifeq ($(ARCH), SOLARIS)
-LINK_DLL += -z defs
-EXTRA_LIBS += -lc
-endif
-
-all: $(LIBS) $(LDAP_ADMDLL_RELDLLS)
-
-$(LIBS): $(OBJDEST) $(LDAP_ADMDLLDIR) $(LDAP_ADMLIBDIR) $(OBJS) $(EXTRA_LIBS_DEP)
- $(LINK_DLL) $(IMPLIB) $(MAPFILE) $(EXTRA_LIBS)
-
-ifeq ($(ARCH), WINNT)
-$(LDAP_ADMDLL_RELDLLS): $(LIBS) $(LDAP_ADMDLL_RELDIRS)
- cp $< $@
-
-endif
-
-veryclean: clean
-
-clean:
- -$(RM) $(OBJS)
- -$(RM) $(LIBS)
-ifeq ($(ARCH), WINNT)
- -$(RM) $(IMPLIB)
-endif
-
-$(OBJS): $(OBJDEST)/%.o: %.c
- $(CC) -c $(NONSHARED) $(CFLAGS) $(MCC_INCLUDE) $(OFFLAG)$(OBJDEST)/$*.o $*.c
-ifdef USE_LINT
- $(LINT) $(LINTCCFLAGS) $(DEFS) $(MCC_SERVER) $(INCLUDES) $(MCC_INCLUDE) $*.c > $(OBJDEST)/$*.ln 2>&1
-endif
diff --git a/ldap/admin/src/Makefile b/ldap/admin/src/Makefile
deleted file mode 100644
index f57a00d2..00000000
--- a/ldap/admin/src/Makefile
+++ /dev/null
@@ -1,391 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-# Source for the admin forms and CGI programs
-
-LDAP_SRC = ../..
-BUILD_ROOT = ../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-BINDIR=$(LDAP_ADMIN_BIN_RELDIR)
-OBJDEST=$(LDAP_ADMOBJDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-SCRIPTSDIR=$(RELDIR)/$(DS_DATADIR)/script-templates
-
-ifeq ($(USE_ADMINSERVER), 1)
-MCC_INCLUDE += $(ADMINUTIL_INCLUDE)
-endif
-
-INCLUDES += -I$(LDAP_SRC)/admin/include
-
-DS_SERVER_DEFS = -DNS_DS -DIS_FHS
-
-ifneq ($(ARCH), WINNT)
-EXTRALDFLAGS += $(SSLLIBFLAG)
-endif
-
-ifeq ($(BUILD_DLL), yes)
-DYNAMIC_DEPLIBS=$(LDAP_ADMLIB) $(LDAP_COMMON_LIBS_DEP)
-ifeq ($(USE_ADMINSERVER), 1)
- DYNAMIC_DEPLIBS += $(ADMINUTIL)
-endif
-DYNAMIC_DEPLINK=$(DYNAMIC_DEPLIBS)
-else
-DYNAMIC_DEPLIBS=$(LDAP_COMMON_LIBS_DEP)
-DYNAMIC_DEPLINK=$(LDAP_ADMLIB) $(LDAP_COMMON_LIBS)
-endif
-
-EXTRA_LIBS_DEP += $(NSPR_DEP) $(LDAPSDK_DEP) $(SASL_DEP)
-ifeq ($(USE_ADMINSERVER), 1)
- EXTRA_LIBS_DEP += $(ADMINUTIL_DEP)
-endif
-EXTRA_LIBS_DEP += $(ICU_DEP)
-# we don't want to build with warnings-as-errors for the admin/ stuff, because
-# it's got crappy C++ code which is LITTERED with warnings, most of which we
-# can't fix because it comes from files in dist/, etc.
-ifeq ($(ARCH), Linux)
-CFLAGS := $(subst -Werror,,$(CFLAGS))
-endif
-
-OLD_EXTRA_LIBS := $(EXTRA_LIBS)
-EXTRA_LIBS = $(DYNAMIC_DEPLINK) $(LDAP_NOSSL_LINK)
-ifeq ($(USE_ADMINSERVER), 1)
- EXTRA_LIBS += $(ADMINUTIL_LINK)
-endif
-EXTRA_LIBS += $(SECURITYLINK) $(NSPRLINK)
-ifeq ($(USE_SETUPUTIL), 1)
- EXTRA_LIBS += $(SETUPUTIL_S_LINK)
-endif
-EXTRA_LIBS += $(ICULINK) $(SASL_LINK) $(OLD_EXTRA_LIBS)
-
-# these are the libraries to use when building the installer for the open source version
-OPENSOURCE_LIBS = $(LDAP_ADMLIB) $(LDAP_NOSSL_LINK) $(SECURITYLINK) $(NSPRLINK)
-
-ifeq ($(ARCH), WINNT)
-PLATFORM_INCLUDE = -I$(BUILD_ROOT)/include/nt
-SUBSYSTEM=console
-EXTRA_LIBS+=comctl32.lib $(LDAP_LIBUTIL)
-OPENSOURCE_LIBS += comctl32.lib $(LDAP_LIBUTIL)
-EXTRA_LIBS_DEP+=$(LDAP_LIBUTIL_DEP)
-
-ifeq ($(DEBUG), optimize)
-#NT_NOLIBS = /NODEFAULTLIB:LIBCMT /NODEFAULTLIB:MSVCRT
-else
-NT_NOLIBS = /NODEFAULTLIB:LIBCMTD /NODEFAULTLIB:MSVCRTD
-endif
-
-else
-ifeq ($(ARCH), IRIX)
-EXCEPTIONS=-exceptions
-else
-ifeq ($(ARCH),SOLARIS)
-ifeq ($(USE_64), 1)
-EXTRALDFLAGS += -xarch=v9
-endif
-EXTRA_LIBS += -lsocket -lnsl -lgen -lm -lposix4 -lthread
-OPENSOURCE_LIBS += -lsocket -lnsl -lgen -lm -lposix4 -lthread
-else
-ifeq ($(ARCH),SOLARISx86)
-EXTRA_LIBS += -lsocket -lnsl -lgen -lm -lposix4 -lthread
-OPENSOURCE_LIBS += -lsocket -lnsl -lgen -lm -lposix4 -lthread
-else
-ifeq ($(ARCH),HPUX)
- ifeq ($(NSOS_RELEASE),B.11.23)
- ifeq ($(USE_64), 1)
- EXTRALDFLAGS += +DD64
- endif
- else
- ifeq ($(USE_64), 1)
- EXTRALDFLAGS += +DA2.0W +DS2.0 +Z
- endif
- endif
-else
-ifeq ($(ARCH),OSF1)
-#CC += -E
-#CXX += -Wl,-ymain
-else
-ifeq ($(ARCH),ReliantUNIX)
-else
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS += -lcurses
-else
-ifeq ($(ARCH), UnixWare)
-# rgc:
-EXTRA_LIBS += -lsocket -lnsl -lgen -lm
-else
-ifeq ($(ARCH), Linux)
-EXTRA_LIBS += -lcrypt
-else
-#this will help with porting other platforms
-EXTRA_LIBS+="you need to define EXTRA_LIBS for $(ARCH) in ldap/admin/src/Makefile"
-endif # Linux
-endif # UnixWare
-endif # AIX
-endif # ReliantUNIX
-endif # OSF1
-endif # HPUX
-endif # SOLARISx86
-endif # SOLARIS
-endif # IRIX
-endif # WINNT
-
-ifneq ($(ARCH), WINNT)
-TEMP_EXTRALDFLAGS:=$(EXTRALDFLAGS)
-EXTRALDFLAGS = -lpthread $(TEMP_EXTRALDFLAGS)
-endif
-
-ifeq ($(SECURITY),domestic)
-SECUS_BINS=
-MODULE_CFLAGS += -DUS_VERSION -DEXPORT_VERSION
-endif
-
-ifeq ($(SECURITY),export)
-MODULE_CFLAGS += -DEXPORT_VERSION
-endif
-
-ifneq ($(SECURITY),none)
-SECURE_BINS=
-SECLIB=$(LIBSECURITY)
-endif
-
-ifeq ($(USE_ADMINSERVER), 1)
- ADMIN_DLLGLUEOBJ=$(BUILD_ROOT)/built/$(ARCH)-$(SECURITY)-$(DEBUG)-admin/admin-lib/dllglue.o
-endif
-
-ifeq ($(ARCH),AIX)
-DLLGLUEOBJ=
-GLUEOBJS=
-endif
-
-$(OBJDEST)/key.res: key.rc
- $(RC) $(OFFLAG)$(OBJDEST)/key.res ey.rc
-
-PROGS = ds_newinst
-ifeq ($(USE_ADMINSERVER), 1)
-PROGS += start restart shutdown ds_ldif2db \
- ds_db2ldif ds_db2bak ds_listdb \
- ds_bak2db ds_rmdb ds_create \
- ds_remove ds_snmpctrl vlvindex addindex
-endif
-
-ifeq ($(ARCH), WINNT)
-SERVER_PROGS = namegen latest_file
-endif
-
-ifeq ($(USE_ADMINSERVER), 1)
-OBJECTS= init_ds_env.o
-endif
-
-ifeq ($(ARCH), WINNT)
-OBJECTS += namegen.o latest_file.o
-ifeq ($(USE_SETUPUTIL), 1)
- OBJECTS += ds_remove_uninst.o
-endif
-endif
-
-ifeq ($(ARCH), WINNT)
-BINS = $(addprefix $(BINDIR)/, $(addsuffix .exe, $(PROGS))) $(addprefix $(LDAP_SERVER_RELDIR)/, $(addsuffix .exe, $(SERVER_PROGS)))
-else
-BINS = $(addprefix $(BINDIR)/, $(PROGS))
-endif
-ALLOBJS = $(addprefix $(OBJDEST)/, $(OBJECTS))
-
-PERL_SCRIPTS = migrateTo4 uname.lib Cgi.pm migrateInstance getConfigInfo migrateLocalDB migratePwdFile ds_viewlog.pl upgradeServer updatedsgw logconv.pl ds_newinst.pl
-
-PERL_SCRIPTS_DEST = $(addprefix $(BINDIR)/, $(PERL_SCRIPTS))
-
-INST_INCLUDES = $(OBJDIR)/install_keywords.h
-
-TEMPLATE_SCRIPTS_SRC = $(wildcard scripts/template-*)
-TEMPLATE_SCRIPTS_DEST = $(subst scripts/,$(SCRIPTSDIR)/,$(TEMPLATE_SCRIPTS_SRC))
-
-# we wrap the security tools with a shell script wrapper for their ld libpath
-PACKAGE_SEC_TOOLS = $(addprefix $(RELDIR)/usr/bin/,$(SECURITY_TOOLS))
-
-# We only need to do this if we have to ship 32 bit binaries in our 64 bit packages
-# Right now, on rhel/linux, we ship all native 64 bit apps so we don't have to do
-# this. We still may need to do this on solaris/hpux, but hopefully not for very
-# much longer
-ifeq ($(USE_64), 1)
- ifeq ($(ARCH), RHEL)
- FIX_SECMOD_DEP =
- else
- ifeq ($(ARCH), Linux)
- FIX_SECMOD_DEP =
- else
- FIX_SECMOD_DEP = $(BINDIR)/fix_secmod_db_64
- endif
- endif
-endif
-
-# gmake 3.74 will remove "intermediate" files if generated via a pattern match rule
-# this is annoying for debugging since it tries to find the .o file
-# if you're debugging and you want to make sure your file does not get removed
-# by gmake, just uncomment the precious target and put your object files there
-# or FIX IT! if you can figure out how . . .
-#.PRECIOUS: $(OBJDEST)/ds_db2bak.o
-
-all: $(BINDIR) $(OBJDEST) $(INST_INCLUDES) $(ALLOBJS) $(BINS) \
- installPerlFiles $(SCRIPTSDIR) $(TEMPLATE_SCRIPTS_DEST) \
- $(FIX_SECMOD_DEP) $(PACKAGE_SEC_TOOLS)
-
-$(SCRIPTSDIR):
- $(MKDIR) $@
-
-.PHONY: installPerlFiles
-
-clean:
- -@echo $(BINS)
- -$(RM) $(BINS)
- -$(RM) $(OBJDEST)/*.o
-
-strip:
- $(STRIP) $(BINS)
-
-# if $(DLLGLUEOBJ) isn't available, use $(ADMIN_DLLGLUEOBJ) as a substitute:
-$(DLLGLUEOBJ): $(ADMIN_DLLGLUEOBJ)
- cp $(ADMIN_DLLGLUEOBJ) $(DLLGLUEOBJ)
-
-# if $(SECGLUEOBJ) isn't available, use $(ADMIN_SECGLUEOBJ) as a substitute:
-$(SECGLUEOBJ): $(ADMIN_SECGLUEOBJ)
- cp $(ADMIN_SECGLUEOBJ) $(SECGLUEOBJ)
-
-# Special objects
-$(BINDIR)/ds_newinst: $(OBJDEST)/ds_newinst.o $(OBJDEST)/cfg_sspt.o \
- $(OBJDEST)/create_instance.o $(OBJDEST)/script-gen.o
- $(LINK_EXE_NOLIBSOBJS) $(SHARED) $(EXTRALDFLAGS) \
- $(OBJDEST)/ds_newinst.o $(OBJDEST)/cfg_sspt.o \
- $(OBJDEST)/create_instance.o $(OBJDEST)/script-gen.o $(EXTRA_LIBS)
-
-$(BINDIR)/ds_newinst.exe: $(OBJDEST)/ds_newinst.o $(OBJDEST)/cfg_sspt.o \
- $(OBJDEST)/create_instance.o $(OBJDEST)/script-gen.o
- $(LINK_EXE) $(NT_NOLIBS) $(OBJDEST)/ds_newinst.o $(OBJDEST)/cfg_sspt.o \
- $(OBJDEST)/create_instance.o $(OBJDEST)/script-gen.o \
- $(LIBNT) $(NSPRLINK) $(EXTRA_LIBS) $(DB_LIB)
-# linking this file causes a .exp and a .lib file to be generated which don't seem
-# to be required while running, so I get rid of them
- $(RM) $(subst .exe,.exp,$@) $(subst .exe,.lib,$@)
-
-$(BINDIR)/ds_create: $(OBJDEST)/instindex.o $(OBJDEST)/cfg_sspt.o \
- $(OBJDEST)/create_instance.o $(OBJDEST)/configure_instance.o \
- $(OBJDEST)/script-gen.o $(DEPLIBS)
- $(LINK_EXE_NOLIBSOBJS) $(SHARED) $(EXTRALDFLAGS) \
- $(OBJDEST)/instindex.o $(OBJDEST)/script-gen.o \
- $(OBJDEST)/create_instance.o $(OBJDEST)/cfg_sspt.o \
- $(OBJDEST)/configure_instance.o \
- $(GLUEOBJ) $(EXTRA_LIBS)
-
-$(BINDIR)/ds_create.exe: $(OBJDEST)/instindex.o $(OBJDEST)/cfg_sspt.o \
- $(OBJDEST)/create_instance.o $(OBJDEST)/configure_instance.o \
- $(OBJDEST)/script-gen.o $(LIBNT_DEP) $(DEPLIBS)
- $(LINK_EXE) $(NT_NOLIBS) $(OBJDEST)/instindex.o \
- $(OBJDEST)/create_instance.o $(OBJDEST)/cfg_sspt.o \
- $(OBJDEST)/configure_instance.o $(OBJDEST)/script-gen.o \
- $(SETUPUTIL_S_LINK) $(LDAP_SDK_LIBS) $(LIBNT) \
- $(NSPRLINK) $(EXTRA_LIBS) $(DB_LIB)
-# linking this file causes a .exp and a .lib file to be generated which don't seem
-# to be required while running, so I get rid of them
- $(RM) $(subst .exe,.exp,$@) $(subst .exe,.lib,$@)
-
-$(BINDIR)/ds_remove: $(OBJDEST)/ds_remove.o $(OBJDEST)/ds_remove_uninst.o $(DEPLIBS) $(EXTRA_LIBS_DEP)
- $(LINK_EXE_NOLIBSOBJS) $(SHARED) $(EXTRALDFLAGS) \
- $(OBJDEST)/ds_remove.o $(OBJDEST)/ds_remove_uninst.o $(OBJDEST)/init_ds_env.o \
- $(SETUPUTIL_S_LINK) $(GLUEOBJ) $(EXTRA_LIBS)
-
-$(BINDIR)/ds_remove.exe: $(OBJDEST)/ds_remove.o $(OBJDEST)/ds_remove_uninst.o $(DEPLIBS) $(EXTRA_LIBS_DEP)
- $(LINK_EXE) $(OBJDEST)/ds_remove_uninst.o $(OBJDEST)/ds_remove.o $(OBJDEST)/init_ds_env.o $(LDAP_SDK_LIBS) $(NSPRLINK) $(SETUPUTIL_S_LINK) $(NT_NOLIBS)
-# linking this file causes a .exp and a .lib file to be generated which don't seem
-# to be required while running, so I get rid of them
- $(RM) $(subst .exe,.exp,$@) $(subst .exe,.lib,$@)
-
-$(OBJDEST)/%.o: %.c
- $(CC) -c $(CFLAGS) $(MCC_INCLUDE) $< $(OFFLAG)$@
-
-$(OBJDEST)/%.o: %.cpp
-ifeq ($(ARCH), WINNT)
- $(CC) -c $(CFLAGS) $(MCC_INCLUDE) $(SETUPUTIL_INCLUDE) $< $(OFFLAG)$@
-else
- $(CXX) $(EXCEPTIONS) -c $(CFLAGS) $(MCC_INCLUDE) $(SETUPUTIL_INCLUDE) $< $(OFFLAG)$@
-endif
-
-ifneq ($(ARCH), WINNT)
-$(BINDIR)/%: $(OBJDEST)/%.o $(DEPLIBS) $(EXTRA_LIBS_DEP) $(GLUEOBJ)
- $(LINK_EXE_NOLIBSOBJS) $< $(OBJDEST)/init_ds_env.o $(GLUEOBJ) $(EXTRA_LIBS)
-else
-$(BINDIR)/%.exe: $(OBJDEST)/%.o $(DEPLIBS) $(EXTRA_LIBS_DEP)
- $(LINK_EXE) $(OBJDEST)/$*.o $(OBJDEST)/init_ds_env.o $(NSPRLINK)
-endif
-
-$(LDAP_SERVER_RELDIR)/namegen.exe: $(OBJDEST)/namegen.o
- $(LINK_EXE_NOLIBSOBJS) $^
-
-$(LDAP_SERVER_RELDIR)/latest_file.exe: $(OBJDEST)/latest_file.o
- $(LINK_EXE_NOLIBSOBJS) $^
-
-installPerlFiles: $(BINDIR) $(PERL_SCRIPTS_DEST)
-
-$(BINDIR)/%: %
- -@$(RM) $@
- $(CP) $< $@
- chmod +x $@
-
-$(LDAP_SERVER_RELDIR)/%: % $(LDAP_SERVER_RELDIR)
- -@$(RM) $@
- $(CP) $< $@
- chmod +x $@
-
-$(INST_INCLUDES): install_keywords.h
- -@$(RM) $@
- $(CP) $< $@
-
-$(SCRIPTSDIR)/template-%: scripts/template-% $(SCRIPTSDIR)
- -@$(RM) $@
- $(CP) $< $@
- chmod +x $@
-
-$(RELDIR)/usr/bin/%: sec_tools_wrapper $(RELDIR)/usr/bin
- -@$(RM) $@
- $(CP) $< $@
- chmod +x $@
-
diff --git a/ldap/clients/dsgw/dsgw_include.mk b/ldap/clients/dsgw/dsgw_include.mk
deleted file mode 100644
index 66d6d43d..00000000
--- a/ldap/clients/dsgw/dsgw_include.mk
+++ /dev/null
@@ -1,54 +0,0 @@
-# --- BEGIN COPYRIGHT BLOCK ---
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# --- END COPYRIGHT BLOCK
-
-# These are macro definitions for use by components of the dsgw
-DSGW_DEFAULT_LANG = en
-DSGW_BASE_RELDIR = $(RELDIR)/clients/dsgw
-DSGW_BIN_RELDIR = $(DSGW_BASE_RELDIR)/bin
-DSGW_HTML_RELDIR = $(DSGW_BASE_RELDIR)/html
-DSGW_CONF_RELDIR = $(DSGW_BASE_RELDIR)/config
-DSGW_PBHTML_RELDIR = $(DSGW_BASE_RELDIR)/pbhtml
-DSGW_PBCONF_RELDIR = $(DSGW_BASE_RELDIR)/pbconfig
-DSGW_MAN_RELDIR = $(RELDIR)/manual/$(DSGW_DEFAULT_LANG)/slapd/gw/manual
-DSGW_INFO_RELDIR = $(RELDIR)/manual/$(DSGW_DEFAULT_LANG)/slapd/gw/info
-
-# generic target to be used to make any directory dependencies
-$(DSGW_BIN_RELDIR) $(DSGW_HTML_RELDIR) $(DSGW_CONF_RELDIR) $(DSGW_PBHTML_RELDIR) \
- $(DSGW_PBCONF_RELDIR) $(DSGW_MAN_RELDIR) $(DSGW_INFO_RELDIR) \
- $(DSGW_CONF_RELDIR)/$(DSGW_DEFAULT_LANG) :
- mkdir -p $@
diff --git a/ldap/include/Makefile b/ldap/include/Makefile
deleted file mode 100644
index 7caa3ae3..00000000
--- a/ldap/include/Makefile
+++ /dev/null
@@ -1,81 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for ldap/include
-#
-
-LDAP_SRC = ..
-BUILD_ROOT = ../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifneq ($(ARCH), WINNT)
-PROT= -m 644
-endif
-
-all: FORCE
-
-clientSDK: $(LDAP_INCLUDEDIR) all FORCE
- $(INSTALL) $(INSTALLFLAGS) $(PROT) ldap.h $(LDAP_INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) $(PROT) lber.h $(LDAP_INCLUDEDIR)
-ifneq ($(LDAP_NO_LIBLCACHE),1)
- $(INSTALL) $(INSTALLFLAGS) $(PROT) lcache.h $(LDAP_INCLUDEDIR)
-endif
-
- $(INSTALL) $(INSTALLFLAGS) $(PROT) ldap_ssl.h $(LDAP_INCLUDEDIR)
-
-install: $(LDAP_INCLUDEDIR) clientSDK FORCE
- $(INSTALL) $(INSTALLFLAGS) $(PROT) disptmpl.h $(LDAP_INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) $(PROT) srchpref.h $(LDAP_INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) $(PROT) portable.h $(LDAP_INCLUDEDIR)
-
-depend: FORCE
-
-clean: FORCE
- -$(RM) db.h sys btree.h extern.h mpool.h
-
-veryclean: clean
-
-FORCE:
diff --git a/ldap/include/Makefile.client b/ldap/include/Makefile.client
deleted file mode 100644
index e67eafd1..00000000
--- a/ldap/include/Makefile.client
+++ /dev/null
@@ -1,86 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-DEPTH = ../..
-
-CHMOD = chmod
-RM = rm -f
-SED = sed
-
-HEADERS = \
- disptmpl.h \
- lber.h \
- ldap.h \
- srchpref.h \
- $(NULL)
-
-include $(DEPTH)/config/rules.mk
-
-GARBAGE += sdkver.h dirver.h
-
-ETCDIR = $(DIST)/etc
-INCLUDEDIR = $(XPDIST)/public/ldap
-
-DIR_VERSION := 2.0
-DIRSDK_VERSION := 1.0
-
-ifeq ($(OS_ARCH), WINNT)
-# Is this correct?
-DIRVER_PATH = $(DEPTH)/ldap/build
-else
-DIRVER_PATH = $(DIST)/bin
-endif
-
-DIRVER_PROG = $(DIRVER_PATH)/dirver$(BIN_SUFFIX)
-
-###########################################################################
-
-all export:: sdkver.h dirver.h FORCE
- $(INSTALL) $(INSTALLFLAGS) -m 644 $(HEADERS) $(INCLUDEDIR)
- $(INSTALL) $(INSTALLFLAGS) -m 644 $(HEADERS) $(DIST)/include
-
-sdkver.h: $(DIRVER_PROG)
- @$< $(DIRSDK_VERSION) UseSystemDate $@
-
-dirver.h: $(DIRVER_PROG)
- @$< $(DIR_VERSION) UseSystemDate $@
-
-install:: export
-
-FORCE:
diff --git a/ldap/javarules.mk b/ldap/javarules.mk
deleted file mode 100644
index a133492e..00000000
--- a/ldap/javarules.mk
+++ /dev/null
@@ -1,131 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-# javarules.mk
-#
-# Identify tools, directories, classpath for building the Directory
-# console
-
-# Where the source root is
-JAVA_SRC_DIR=$(ABS_ROOT)/ldap/admin/src/java
-
-# Where the class files go
-JAVA_BUILD_DIR=$(ABS_ROOT)/built/java/$(BUILD_DEBUG)/admin
-JAVA_DEST_DIR=$(BUILD_ROOT)/built/java/$(BUILD_DEBUG)
-CLASS_DIR=$(JAVA_DEST_DIR)/admin
-DSADMIN_DIR=$(CLASS_DIR)/com/netscape/admin
-
-# Where docs go
-DSADMIN_DOC_DIR=$(JAVA_DEST_DIR)/doc
-
-
-# Java setup ##############################################
-
-# disable optimized builds for now until we can figure out why
-# optimized doesn't build . . .
-ifeq ($(BUILD_DEBUG),optimize)
-# JAVAFLAGS=-O
- JAVAFLAGS=
-else
- JAVAFLAGS=-g
-endif
-
-PATH_SEP := :
-ifeq ($(OS), Windows_NT)
- GET_JAVA_FROM_PATH := 1
- PATH_SEP := ;
- EXE_SUFFIX := .exe
-endif
-
-ifeq ($(INTERNAL_BUILD), 1)
- # For UNIX, use JDK and JAR files over NFS
- ifeq ($(ARCH), Linux)
- JDK_VERSION:=1.4.2_SR3
- JDK_VERSDIR:=ibmjdk/$(JDK_VERSION)/$(NSOBJDIR_NAME)
- else
- ifeq ($(ARCH), HPUX)
- JDK_VERSION:=1.4.2_09
- JDK_VERSDIR:=hpjdk/$(JDK_VERSION)
- else # Solaris
- JDK_VERSION:=1.4.2_10
- JDK_VERSDIR:=jdk/$(JDK_VERSION)/$(NSOBJDIR_NAME)
- endif
- endif
- JDKLIB:=$(COMPONENTS_DIR)/$(JDK_VERSDIR)/lib/tools.jar
- JAVABINDIR:=$(COMPONENTS_DIR)/$(JDK_VERSDIR)/bin
-else # INTERNAL_BUILD
- # Figure out where the java lib .jar files are, from where javac is
- JDKCOMP := $(shell which javac)
- JDKPRELIB := $(subst bin/javac$(EXE_SUFFIX),lib,$(JDKCOMP))
- JDKLIB := $(addprefix $(JDKPRELIB)/,tools.jar)
-endif
-
-CLASSPATH := $(JAVA_SRC_DIR)$(PATH_SEP)$(LDAPJARFILE)
-
-ifndef JAVA
- ifdef JAVABINDIR
- JAVA= $(JAVABINDIR)/java
- else
- JAVA=java
- endif
-endif
-
-# Some java compilers run out of memory, so must be run as follows
-JAVAC_PROG=-mx32m sun.tools.javac.Main
-HEAVY_JAVAC=$(JAVA) $(JAVAC_PROG) $(JAVAFLAGS)
-
-ifndef JAVAC
- ifdef JAVABINDIR
- JAVAC= $(JAVABINDIR)/javac $(JAVAFLAGS)
- else
- JAVAC= javac $(JAVAFLAGS)
- endif
-endif
-ifndef JAVADOC
- JAVADOC=$(JAVA) -mx64m sun.tools.javadoc.Main -classpath "$(CLASSPATH)"
-endif
-
-# How to run ant (the Java "make" system)
-ifdef GET_ANT_FROM_PATH
-ANT = ant
-else
-ANT = $(JAVA) -Dant.home=$(ANT_HOME) -classpath "$(ANT_CP)$(PATH_SEP)$(JDKLIB)" org.apache.tools.ant.Main
-endif
-
-##########################################################
diff --git a/ldap/libraries/Makefile b/ldap/libraries/Makefile
deleted file mode 100644
index 2b312baa..00000000
--- a/ldap/libraries/Makefile
+++ /dev/null
@@ -1,396 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server and LDAP SDK libraries
-#
-
-BUILD_ROOT = ../..
-LDAP_SRC = $(BUILD_ROOT)/ldap
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib
-LIBDIR = $(LDAP_LIBDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-# the following lines are to make this work for
-# both db1.85 and db2.0
-ifndef LDAP_USE_OLD_DB
-ldap_db_depend:=$(DB_LIB_DEP)
-CFLAGS+= -I$(DB_INCLUDE)
-else
-ldap_db_depend:=_berkeley_db
-endif
-
-ifeq ($(ARCH), WINNT)
-LDAPRES= $(addprefix $(LIBDIR)/, libldap/*.res)
-LCACHERES= $(addprefix $(LIBDIR)/, liblcache/*.res)
-endif
-
-########## Security #######################
-##########ifneq ($(SECURITY), none)
-
-# Where to find libsec and friends
-SECDIR=$(NSCP_DISTDIR)/lib
-
-ifeq ($(ARCH), WINNT)
-# Used by libsec in Win32
-SEC_SYSLIBS=rpcrt4.lib user32.lib
-# When pulling in libsec/nspr20, WinSock and WinMM must be linked in
-ifdef INCLUDE_SSL
-EXTRA_LIBS=winmm.lib wsock32.lib
-SDK_EXPORT_DEFS=ldapsdk.def
-SDK_EXPORT_DEPS=msdos/winsock/nsldap32.def msdos/winsock/ldapssl.def
-else
-SDK_EXPORT_DEFS=msdos/winsock/nsldap32.def
-endif
-SDK_EXPORT_FLAGS=/DEF:$(SDK_EXPORT_DEFS)
-LCACHE_EXPORT_DEFS=msdos/winsock/nslch32.def
-LCACHE_EXPORT_FLAGS=/DEF:$(LCACHE_EXPORT_DEFS)
-endif
-
-EXPLDAP=libldap
-EXPLCH=liblcache
-EXPLDSSL=libldap_ssl
-
-ifeq ($(ARCH), AIX)
-USE_DLL_EXPORTS_FILE=1
-else
-ifeq ($(ARCH), SOLARIS)
-USE_DLL_EXPORTS_FILE=1
-else
-ifeq ($(ARCH), IRIX)
-USE_DLL_EXPORTS_FILE=1
-endif
-endif
-endif
-
-
-ifeq ($(USE_DLL_EXPORTS_FILE), 1)
-ifdef INCLUDE_SSL
-SDK_EXPORT_DEFS=$(OBJDEST)/$(EXPLDAP).exp $(OBJDEST)/$(EXPLDSSL).exp
-DLL_EXPORT_FLAGS=$(SDK_EXPORT_DEFS)
-else
-SDK_EXPORT_DEFS=$(OBJDEST)/$(EXPLDAP).exp
-endif
-DLL_EXPORT_FLAGS=$(addprefix $(DLLEXPORTS_PREFIX), $(SDK_EXPORT_DEFS))
-LCACHE_EXPORT_DEFS=$(OBJDEST)/$(EXPLCH).exp
-DLL_EXPORT_FLAGS2=$(addprefix $(DLLEXPORTS_PREFIX), $(LCACHE_EXPORT_DEFS))
-endif
-
-
-EXTRA_SECLIBS= $(STATICLIBNSPR) $(LIBSEC) $(LIBXP) $(LIBDB) $(LIBARES) \
- $(LIBSSLIO) $(SEC_SYSLIBS)
-EXTRA_SECLIBS_DEP += $(STATICLIBNSPR) $(LIBXP_DEP) \
- $(LIBSSLIO_DEP)
-EXTRA_SECLIBS_DEP += $(LIBSEC_DEP) $(LIBDB_DEP) $(LIBARES_DEP)
-
-ifdef INCLUDE_SSL
-#
-# include security code in the LDAP DLL
-#
-EXTRA_LIBS += $(EXTRA_SECLIBS)
-EXTRA_LIBS_DEP += $(EXTRA_SECLIBS_DEP)
-ifneq ($(ARCH), WINNT)
-DLL_LDFLAGS += -$(LIBPATH)$(SECDIR)
-endif
-
-SSLOBJS= $(addprefix $(LIBDIR)/, libssldap/*.o)
-SSL_DEP= $(LDAPSDK_DEP)
-
-endif
-########## end Security ###################
-
-# The following libraries are built by this Makefile:
-# dynamic LDAP library
-DLIBLDAP= $(addprefix $(LIBDIR)/, $(LIBLDAP_DLL).$(DLL_SUFFIX))
-# static LDAP library
-SLIBLDAP= $(addprefix $(LIBDIR)/, $(LIBLDAP_LIB).$(LIB_SUFFIX))
-# dynamic LCACHE library
-DLIBLCACHE= $(addprefix $(LIBDIR)/, $(LIBLCACHE_DLL).$(DLL_SUFFIX))
-# static LCACHE library
-SLIBLCACHE= $(addprefix $(LIBDIR)/, $(LIBLCACHE_LIB).$(LIB_SUFFIX))
-
-# objects built by libavl/Makefile
-AVLOBJS= $(addprefix $(LIBDIR)/, libavl/*.o)
-# objects built by berkeley_db/Makefile
-# the following lines pull in the new db library with the liblcache dll is built
-# this is a hack, but can't see how to add it easier without a new LINK_DLL2.
-ifndef LDAP_USE_OLD_DB
-DLL_EXPORT_FLAGS2+=$(DB_STATIC_LIB)
-else
-BERKDBOBJS= $(addprefix $(LIBDIR)/, libdb/*.o)
-endif
-# objects built by liblber/Makefile
-LBEROBJS= $(addprefix $(LIBDIR)/, liblber/*.o)
-# objects built by liblcache/Makefile
-LCACHEOBJS= $(addprefix $(LIBDIR)/, liblcache/*.o)
-# objects built by libldap/Makefile
-LDAPOBJS= $(addprefix $(LIBDIR)/, libldap/*.o)
-# one object built by libldap/Makefile
-REGEXOBJ= $(addprefix $(LIBDIR)/, libldap/regex.o)
-# objects built by libldbm/Makefile
-LDBMOBJS= $(addprefix $(LIBDIR)/, libldbm/*.o)
-# objects built by libldif/Makefile
-LDIFOBJS= $(addprefix $(LIBDIR)/, libldif/*.o)
-
-all: $(LDAP_LIBDIR) clientSDK
-
-buildDirectory: $(LDAP_LIBDIR) _libavl _libldif _liblitekey _libutil
-
-ifdef LDAP_USE_OLD_DB
-_berkeley_db:
- cd berkeley_db; $(MAKE) $(MFLAGS) all
-endif
-
-_libavl:
- cd libavl; $(MAKE) $(MFLAGS) all
-
-_liblber:
- cd liblber; $(MAKE) $(MFLAGS) all
-
-_libldbm:
- cd libldbm; $(MAKE) $(MFLAGS) all
-
-_libldif:
- cd libldif; $(MAKE) $(MFLAGS) all
-
-_liblitekey:
- cd liblitekey; $(MAKE) $(MFLAGS) all
-
-_libssldap:
- cd libssldap; $(MAKE) $(MFLAGS) all
-
-_libutil:
-ifeq ($(ARCH), WINNT)
- cd libutil; $(MAKE) $(MFLAGS) all
-endif
-
-_libldap:
- cd libldap; $(MAKE) $(MFLAGS) all
-
-_slapd:
- cd $(LDAP_SRC)/servers/slapd; $(MAKE) $(MFLAGS) all
-
-_back-ldbm:
- cd $(LDAP_SRC)/servers/slapd/back-ldbm; $(MAKE) $(MFLAGS) all
-
-_back-ldif:
- cd $(LDAP_SRC)/servers/slapd/back-ldif; $(MAKE) $(MFLAGS) all
-
-_liblcache:
- cd liblcache; $(MAKE) $(MFLAGS) clientSDK
-
-ifdef INCLUDE_SSL
-#
-# There is no easy way to include libsec and friends when making static libs
-# (at least on UNIX) so we don't bother making them when INCLUDE_SSL is set.
-# Also if LDAP_NO_LIBLCACHE is 1, we don't build liblcache. Simple, huh?
-#
-ifeq ($(LDAP_NO_LIBLCACHE),1)
-LIBS2BUILD=$(DLIBLDAP)
-else
-LIBS2BUILD=$(DLIBLDAP) $(DLIBLCACHE)
-endif
-else
-ifeq ($(LDAP_NO_LIBLCACHE),1)
-LIBS2BUILD=$(DLIBLDAP) $(SLIBLDAP)
-else
-LIBS2BUILD=$(DLIBLDAP) $(SLIBLDAP) $(DLIBLCACHE) $(SLIBLCACHE)
-endif
-
-endif
-
-clientSDK: $(LDAP_LIBDIR) _libavl _liblber _libldif \
- _libssldap _libutil $(LIBS2BUILD)
-
-OBJS=$(LBEROBJS) $(LDAPOBJS) $(SSLOBJS) $(LDAPRES)
-
-$(DLIBLDAP): $(LDAP_OUT_DIR) _liblber _libldap $(EXTRA_LIBS_DEP) $(SSL_DEP) \
- $(SDK_EXPORT_DEFS)
- $(LINK_DLL) $(SDK_EXPORT_FLAGS) $(EXTRA_LIBS)
-
-$(SLIBLDAP): $(LDAP_OUT_DIR) _liblber _libldap $(EXTRA_LIBS_DEP) $(SSL_DEP)
- $(LINK_LIB)
-
-OBJS2=$(LCACHEOBJS) $(AVLOBJS) $(LDBMOBJS) $(BERKDBOBJS) $(LDIFOBJS) \
- $(REGEXOBJ) $(LCACHERES)
-
-ifeq ($(ARCH), WINNT)
-# liblber is included here only to pick up ber_err_print()
-# libsec and libxp are included here only to pick up SHA1_Hash()
-OTHER_SECLIBS= $(LIBSEC) $(LIBXP)
-EXTRA_LCACHE_LIBS=$(LDAP_SDK_LIBLDAP_DLL) $(LDAP_LIBLBER) $(OTHER_SECLIBS)
-EXTRA_LCACHE_LIBS_DEP= $(LDAP_SDK_LIBLDAP_DLL_DEP) $(LDAP_LIBLBER_DEP) \
- $(EXTRA_SECLIBS_DEP)
-endif
-
-ifeq ($(ARCH), AIX)
-DLL_LDFLAGS += -$(LIBPATH)$(SECDIR)
-# extra libraries are needed on AIX as well
-EXTRA_LCACHE_LIBS=$(LDAP_SDK_LIBLDAP_DLL) $(LDAP_LIBLBER) $(EXTRA_SECLIBS)
-EXTRA_LCACHE_LIBS_DEP= $(LDAP_SDK_LIBLDAP_DLL_DEP) $(LDAP_LIBLBER_DEP) \
- $(EXTRA_SECLIBS_DEP)
-endif
-
-$(DLIBLCACHE): $(LDAP_OUT_DIR) $(ldap_db_depend) _liblcache _libavl _libldbm \
- _libldif $(EXTRA_LCACHE_LIBS_DEP) $(LCACHE_EXPORT_DEFS)
- $(LINK_DLL2) $(LCACHE_EXPORT_FLAGS) $(EXTRA_LCACHE_LIBS) $(EXTRA_LIBS)
-
-$(SLIBLCACHE): $(LDAP_OUT_DIR) $(ldap_db_depend) _liblcache libavl _libldbm \
- _libldif
- $(LINK_LIB2)
-
-# Need to add exports if building with SSL in NT
-ifeq ($(ARCH), WINNT)
-ifdef INCLUDE_SSL
-$(SDK_EXPORT_DEFS) : $(SDK_EXPORT_DEPS)
- cat $(SDK_EXPORT_DEPS) > $(SDK_EXPORT_DEFS)
-endif
-endif
-
-clean: FORCE
-ifdef LDAP_USE_OLD_DB
- cd berkeley_db; $(MAKE) $(MFLAGS) clean
-endif
- cd libavl; $(MAKE) $(MFLAGS) clean
- cd libldif; $(MAKE) $(MFLAGS) clean
-ifeq ($(ARCH), WINNT)
- cd libutil; $(MAKE) $(MFLAGS) clean
- -(cd $(LDAP_SRC)/servers/slapd; $(MAKE) $(MFLAGS) clean)
-endif
- -(cd $(LDAP_SRC)/servers/slapd/back-ldbm; $(MAKE) $(MFLAGS) clean)
- -(cd $(LDAP_SRC)/servers/slapd/back-ldif; $(MAKE) $(MFLAGS) clean)
-ifeq ($(ARCH), WINNT)
- -$(RM) $(LIBLDAP_DLL_OBJ)
-endif
- -$(RM) $(LIBS2BUILD)
-
-veryclean: clean
-
-FORCE:
-
-$(LDAP_OUT_DIR):
- $(MKDIR) $(LDAP_OUT_DIR)
-
-GENEXPORTS=$(PERL) $(LDAP_SRC)/build/genexports.pl
-# WINDEFDIR is now defined below via a recursive make. This is a
-# bit of a hack to avoid collisions with SDK_EXPORT_DEFS (defined above).
-#WINDEFDIR=msdos/winsock
-MACDEFDIR=macintosh
-GENEXPARGS=$(BUILD_DEBUG) $(DIRSDK_VERSION_DLL_SUFFIX) $(DIRSDK_VERSION)
-
-DEFLDAPW32=$(WINDEFDIR)/nsldap32
-DEFLDAPW16REV=$(WINDEFDIR)/nsldap
-DEFLDAPW16=$(WINDEFDIR)/libldap
-DEFLDAPW32BC=$(WINDEFDIR)/nsldap32bc
-DEFLDSSLW32=$(WINDEFDIR)/ldapssl
-DEFLDSSLW32BC=$(WINDEFDIR)/ldapsslbc
-DEFLCHW32=$(WINDEFDIR)/nslch32
-DEFLCHW32BC=$(WINDEFDIR)/nslch32bc
-DEFLDAPMACPPC=$(MACDEFDIR)/libldap-PPC.u
-DEFLDAPMACCLIENTPPC=$(MACDEFDIR)/LDAPClientPPC.prj
-DEFLDAPMACCLIENT68K=$(MACDEFDIR)/LDAPClient68K.prj
-
-# nsdefs.mk contains version number definitions....
-OTHERDEFDEPS=$(BUILD_ROOT)/nsdefs.mk
-
-exportfiles:
- $(MAKE) $(MFLAGS) WINDEFDIR=msdos/winsock doExportFiles
-
-doExportFiles: $(DEFLDAPW32).def $(DEFLDAPW16).def $(DEFLDAPW16REV).def \
- $(DEFLDAPW32BC).def $(DEFLDSSLW32).def $(DEFLDSSLW32BC).def \
- $(DEFLCHW32).def $(DEFLCHW32BC).def \
- $(DEFLDAPMACPPC).exp $(DEFLDAPMACCLIENTPPC).exp \
- $(DEFLDAPMACCLIENT68K).exp
-
-#
-# All the various flavors of Windows:
-#
-$(DEFLDAPW32).def: $(DEFLDAPW32).tdf libldap.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) Win32 $< libldap.ex $(GENEXPARGS) > $@
-
-$(DEFLDAPW16).def: $(DEFLDAPW16).tdf libldap.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) Win16 $< libldap.ex $(GENEXPARGS) > $@
-
-$(DEFLDAPW16REV).def: $(DEFLDAPW16REV).tdf libldap.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) Win16Rev $< libldap.ex $(GENEXPARGS) > $@
-
-$(DEFLDAPW32BC).def: $(DEFLDAPW32BC).tdf libldap.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) WinBC $< libldap.ex $(GENEXPARGS) > $@
-
-$(DEFLDSSLW32).def: $(DEFLDSSLW32).tdf libldap_ssl.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) Win32 $< libldap_ssl.ex $(GENEXPARGS) > $@
-
-$(DEFLDSSLW32BC).def: $(DEFLDSSLW32BC).tdf libldap_ssl.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) WinBC $< libldap_ssl.ex $(GENEXPARGS) > $@
-
-$(DEFLCHW32).def: $(DEFLCHW32).tdf liblcache.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) Win32 $< liblcache.ex $(GENEXPARGS) > $@
-
-$(DEFLCHW32BC).def: $(DEFLCHW32BC).tdf liblcache.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) WinBC $< liblcache.ex $(GENEXPARGS) > $@
-
-#
-# MacOS:
-#
-$(DEFLDAPMACPPC).exp: libldap.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) MacOS Standard $< $(GENEXPARGS) > $@
-
-$(DEFLDAPMACCLIENTPPC).exp: libldap.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) MacOS Standard $< $(GENEXPARGS) > $@
-
-$(DEFLDAPMACCLIENT68K).exp: libldap.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) MacOS Standard $< $(GENEXPARGS) > $@
-
-ifeq ($(USE_DLL_EXPORTS_FILE), 1)
-# generic rules to create standard export/map files
-$(OBJDEST)/$(EXPLDAP).exp: libldap.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) $(ARCH) Standard $< $(GENEXPARGS) > $@
-
-$(OBJDEST)/$(EXPLDSSL).exp: libldap_ssl.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) $(ARCH) Standard $< $(GENEXPARGS) > $@
-
-$(OBJDEST)/$(EXPLCH).exp: liblcache.ex $(OTHERDEFDEPS)
- $(GENEXPORTS) $(ARCH) Standard $< $(GENEXPARGS) > $@
-endif
diff --git a/ldap/libraries/libavl/Makefile b/ldap/libraries/libavl/Makefile
deleted file mode 100644
index e79c2f1e..00000000
--- a/ldap/libraries/libavl/Makefile
+++ /dev/null
@@ -1,80 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for libavl
-#
-
-LDAP_SRC = ../..
-BUILD_ROOT = ../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libavl
-LIBDIR = $(LDAP_LIBDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-CFLAGS += $(SLCFLAGS)
-
-LIBAVL_OBJS= avl.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(LIBAVL_OBJS))
-
-LIBAVL= $(addprefix $(LIBDIR)/, libavl.$(LIB_SUFFIX))
-
-clientSDK: all
-
-all: $(OBJDEST) $(LIBDIR) $(LIBAVL)
-
-$(LIBAVL): $(OBJS)
- $(LINK_LIB)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
- $(RM) $(LIBAVL)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
diff --git a/ldap/nsdeps.mk b/ldap/nsdeps.mk
deleted file mode 100644
index 87372fe4..00000000
--- a/ldap/nsdeps.mk
+++ /dev/null
@@ -1,91 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# build dependency lists if necessary, then make 'build.mk'
-#
-# only build dependency lists on platforms that it works on...
-#
-
-
-ifeq ($(ARCH), WINNT)
-# windows can't make dot-files:
-DEPFILE = ./deps
-$(OBJDIR)/mkdep: $(LDAP_SRC)/servers/slapd/tools/mkdep.c
- $(CC) /Ox /DWINNT /Fe$(OBJDIR)/mkdep.exe \
- $(LDAP_SRC)/servers/slapd/tools/mkdep.c
-else
-DEPFILE = ./.deps
-$(OBJDIR)/mkdep: $(LDAP_SRC)/servers/slapd/tools/mkdep.c
- $(CC) -o $(OBJDIR)/mkdep $(LDAP_SRC)/servers/slapd/tools/mkdep.c
-endif
-
-ifeq ($(RECURSIVE_DEP), yes)
-$(DEPFILE): *.h *.c
- @echo Cant seem to create $(DEPFILE), time to die.
- @exit 1
-else
-$(DEPFILE): *.h *.c
- @echo Rebuilding dependency lists...
- $(OBJDIR)/mkdep -o $(OBJDEST) *.h *.c >$(DEPFILE)
- $(MAKE) RECURSIVE_DEP=yes
-endif
-
-#
-# you can override these from the command line
-#
-ifeq ($(ARCH), SOLARIS)
-USE_DEPS = no
-endif
-ifeq ($(ARCH), Linux)
-USE_DEPS = no
-endif
-ifeq ($(ARCH), WINNT)
-USE_DEPS = no
-endif
-
-
-# automatic dependency checking?
-ifeq ($(USE_DEPS), yes)
- ifeq ($(RECURSIVE_DEP), yes)
- include $(DEPFILE)
- else
- BUILD_DEP = $(OBJDIR)/mkdep $(DEPFILE)
- endif
-endif
diff --git a/ldap/nsldap.mk b/ldap/nsldap.mk
deleted file mode 100644
index a5b7b7b7..00000000
--- a/ldap/nsldap.mk
+++ /dev/null
@@ -1,1819 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# nsldap.mk: GNU Makefile for common defs used in Fedora Directory Server
-# and related tools.
-#
-
-#
-# Set the global directory points
-#
-
-# This stuff is for UNIX--we wire in absolute paths
-# because it makes the tar'ing easier.
-# On NT we don't bother with this trick.
-# Note that we're setting BUILD_ROOT again,
-# having set it to a relative path above, so
-# we can find the include files.
-ifneq ($(ARCH), WINNT)
-# This seems useless to check for a path of the form word:word if the arch
-# is neq winnt . . .
-BUILD_TMP = $(subst :, , $(shell cd ../../..;pwd))
-BUILD_WORDS = $(words $(BUILD_TMP))
-# convert BUILD_ROOT from relative path to absolute
-#BUILD_ROOT = $(word $(BUILD_WORDS), $(BUILD_TMP))
-ifneq ($(BUILD_WORDS), 1)
-BUILD_DRIVE = $(word 1, $(BUILD_TMP)):
-endif
-endif
-
-RELTOP=$(BUILD_ROOT)/built/release
-OBJDIR_BASE = $(notdir $(OBJDIR))
-OBJDIR_BASE_32 = $(notdir $(OBJDIR_32))
-# Release directory for Directory Server
-RELDIR = $(BUILD_DRIVE)$(RELTOP)/$(OBJDIR_BASE)
-RELDIR_32 = $(BUILD_DRIVE)$(RELTOP)/$(OBJDIR_BASE_32)
-RELDIR_UNSTRIP = $(RELDIR)-unstripped
-
-# FHS install paths
-CORE_BINDIR := /usr/bin
-CORE_LIBDIR := /usr/lib
-CORE_DATADIR := /usr/share
-CORE_DOCDIR := /usr/doc
-CORE_SYSCONFDIR := /etc
-DS_ETCDIR := $(CORE_SYSCONFDIR)/$(DS_BRAND)-ds
-DS_LIBDIR := $(CORE_LIBDIR)/$(DS_BRAND)-ds
-DS_DOCDIR := $(CORE_DOCDIR)/$(DS_BRAND)-ds
-DS_PLUGINDIR := $(CORE_DATADIR)/$(DS_BRAND)-ds/plugins
-DS_DATADIR := $(CORE_DATADIR)/$(DS_BRAND)-ds
-DS_LDIFDIR := $(DS_DATADIR)/data
-DS_PROPERTYDIR := $(DS_ETCDIR)/property
-# WILL GO AWAY ???
-DS_JAVADIR := $(CORE_DATADIR)/java
-# WILL GO AWAY ???
-DS_CONSOLEDIR := $(DS_JAVADIR)/$(DS_BRAND)-directoryconsole
-# WILL GO AWAY ???
-DS_DSGWDIR := $(DS_LIBDIR)/dsgw
-# WILL GO AWAY ???
-DS_DSMLGWDIR := $(DS_JAVADIR)/dsmlgw
-DS_SCHEMADIR := $(DS_ETCDIR)/schema
-DS_CONFIGDIR := $(DS_ETCDIR)/config
-DS_LEGACYSCHEMADIR := $(CORE_DATADIR)/$(DS_BRAND)-ds/legacy-schema
-
-# Release path definitions for software components
-# This is the base path for directory server specific components
-LDAP_BASE_RELDIR = $(RELDIR)/bin/slapd
-# This is the base path for the slapd program and other related programs
-LDAP_SERVER_RELDIR = $(RELDIR)$(DS_LIBDIR)
-# This is the path for administrative programs, installers, CGIs, etc.
-LDAP_ADMIN_BIN_RELDIR = $(RELDIR)$(DS_LIBDIR)
-# This is the path for other programs, perf counters, etc.
-LDAP_INSTALL_BIN_RELDIR = $(LDAP_BASE_RELDIR)/install/bin
-# This is the base path for directory server specific dlls
-LDAP_LIB_RELDIR = $(RELDIR)$(DS_LIBDIR)
-# Plugin location
-LDAP_PLUGIN_RELDIR = $(RELDIR)$(DS_LIBDIR)/plugins
-# This is the primary location for the dsadmin dll
-LDAP_ADMDLLDIR = $(LDAP_LIB_RELDIR)
-# This is the location for the dsadmin export and/or static library,
-# for those platforms which separate them from the dll (like NT :-( )
-ifeq ($(ARCH), WINNT)
-LDAP_ADMLIBDIR = $(LDAP_ADMROOT)/lib
-# This is a list of other files (for NT) the dsadmin dll needs to be
-# copied to
-LDAP_ADMDLL_RELDLLS = $(LDAP_ADMIN_BIN_RELDIR)/libds_admin$(DLL_PRESUF).$(DLL_SUFFIX) $(LDAP_SERVER_RELDIR)/libds_admin$(DLL_PRESUF).$(DLL_SUFFIX)
-LDAP_ADMDLL_RELDIRS = $(LDAP_ADMIN_BIN_RELDIR) $(LDAP_SERVER_RELDIR)
-else # same place as dll
-LDAP_ADMLIBDIR = $(LDAP_ADMDLLDIR)
-endif
-
-LDAP_SRC = $(BUILD_ROOT)/ldap
-
-LDAP_INSTROOT= $(OBJDIR)
-
-LDAP_LIBDIR = $(LDAP_INSTROOT)/lib
-LDAP_OBJDIR = $(LDAP_INSTROOT)/servers/obj
-LDAP_MANDIR = $(LDAP_INSTROOT)/man
-LDAP_BINDIR = $(LDAP_INSTROOT)/bin
-LDAP_INCLUDEDIR = $(LDAP_INSTROOT)/include
-LDAP_ETCDIR = $(LDAP_INSTROOT)/etc
-
-LDAP_ADMROOT = $(LDAP_INSTROOT)/dsadmin
-LDAP_ADMINCDIR = $(LDAP_ADMROOT)/include
-LDAP_ADMOBJDIR = $(LDAP_ADMROOT)/obj
-LDAP_ADMPERLDIR = $(LDAP_ADMROOT)/perl
-
-LDAP_HDIR = $(LDAP_SRC)/include
-
-# set up a target for all directories which are used as dependencies so that the
-# directory will be created if it is needed
-DEPENDENCY_DIRS = $(RELDIR) $(LDAP_SERVER_RELDIR) \
- $(LDAP_ADMROOT)/lib $(OBJDIR) $(LDAP_LIBDIR) $(LDAP_OBJDIR) \
- $(LDAP_MANDIR) $(LDAP_BINDIR) $(LDAP_INCLUDEDIR) $(LDAP_ETCDIR) \
- $(LDAP_ADMINCDIR) $(LDAP_ADMOBJDIR) $(LDAP_ADMPERLDIR) \
- $(LDAP_PLUGIN_RELDIR) $(LDAP_INSTALL_BIN_RELDIR)
-
-$(DEPENDENCY_DIRS):
- $(MKDIR) $@
-
-# On AIX, include _shr in shared library names. This
-# is done because the suffix .a is used with both static and dynamic libs
-# and we need some way to distinguish the two. You gotta love AIX....
-ifeq ($(ARCH), AIX)
-ifdef OLD_AIX_LINKING
-DLL_PRESUFFIX=_shr
-endif
-else
-DLL_PRESUFFIX=
-endif
-
-# warnings as errors
-# FIXME
-#ifeq ($(ARCH), Linux)
-#CFLAGS += -Werror
-#endif
-#ifeq ($(ARCH), SOLARIS)
-#CFLAGS += -xwe
-#endif
-
-#
-# Dynamic library for LDAP Server Admin interface
-#
-ifeq ($(ARCH), WINNT)
-LDAP_ADMLIB_DEP = $(LDAP_ADMDLLDIR)/libds_admin$(DLL_PRESUF).$(DLL_SUFFIX) $(LDAP_ADMLIBDIR)/libds_admin.$(LIB_SUFFIX)
-LDAP_ADMLIB = $(LDAP_ADMLIBDIR)/libds_admin.$(LIB_SUFFIX)
-else
-LDAP_ADMLIB_DEP = $(LDAP_ADMLIBDIR)/libds_admin$(DLL_PRESUF).$(DLL_SUFFIX)
-ifeq ($(ARCH), UnixWare)
-#add (COMMON_OBJDIR) to (LDAP_ADMLIB) so $(LD) can find ns-dshttpd.so
-LDAP_ADMLIB = -L$(COMMON_OBJDIR) -lds_admin$(DLL_PRESUF)
-else
-LDAP_ADMLIB = -L$(LDAP_ADMDLLDIR) -lds_admin$(DLL_PRESUF)
-endif # UnixWare
-endif # WINNT
-
-#
-# Common LDAP static libraries.
-#
-ifdef LDAP_USE_OLD_DB
-ldap_extra_db_lib:=libldbm libdb
-ldap_extra_db_link:=-lldbm -ldb
-else
-ldap_extra_db_lib:=
-ldap_extra_db_link:=
-endif # LDAP_USE_OLD_DB
-LDAP_COMMON_LIBSLIST = libavl $(ldap_extra_db_lib) libldif liblitekey
-ifeq ($(ARCH), WINNT)
-LDAP_COMMON_LIBSLIST += libutil
-else
-LDAP_COMMON_LIBSLIST += libldif
-endif # WINNT
-
-LDAP_COMMON_LIBS_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LDAP_COMMON_LIBSLIST)))
-ifeq ($(ARCH), WINNT)
-LDAP_COMMON_LIBS = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LDAP_COMMON_LIBSLIST)))
-LDAP_COMMON_LINK = /LIBPATH:$(LDAP_LIBDIR) \
- $(addsuffix .$(LIB_SUFFIX), $(LDAP_COMMON_LIBSLIST))
-else
-LDAP_COMMON_LIBS = -lavl $(ldap_extra_db_link) -lldif
-LDAP_COMMON_LINK = $(LDAP_COMMON_LIBS)
-endif
-
-#
-# Individual LDAP libraries and dependancies
-#
-
-LDAP_LIBAVL_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libavl))
-ifeq ($(ARCH), WINNT)
-LDAP_LIBAVL = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libavl))
-else
-LDAP_LIBAVL = -lavl
-endif
-
-ifdef LDAP_USE_OLD_DB
-LDAP_LIBLDBM_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libldbm))
-ifeq ($(ARCH), WINNT)
-LDAP_LIBLDBM = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libldbm))
-else
-LDAP_LIBLDBM = -lldbm
-endif
-else
-LDAP_LIBLDBM_DEP:=
-LDAP_LIBLDBM:=
-endif
-
-# dboreham: changed for new db regime
-ifdef LDAP_USE_OLD_DB
-LDAP_LIBDB_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libdb))
-ifeq ($(ARCH), WINNT)
-LDAP_LIBDB = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libdb))
-else
-LDAP_LIBDB = -ldb
-endif
-else
-LDAP_LIBDB_DEP:=
-LDAP_LIBDB:=DONT USE THIS ANYMORE
-endif
-
-LDAP_LIBLBER_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, liblber))
-ifeq ($(ARCH), WINNT)
-LDAP_LIBLBER = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, liblber))
-else
-LDAP_LIBLBER = -llber
-endif
-
-LDAP_LIBUTIL_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libutil))
-ifeq ($(ARCH), WINNT)
-LDAP_LIBUTIL = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libutil))
-else
-LDAP_LIBUTIL = -lutil
-endif
-
-LDAP_LIBLDIF_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libldif))
-ifeq ($(ARCH), WINNT)
-LDAP_LIBLDIF = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libldif))
-else
-LDAP_LIBLDIF = -lldif
-endif
-
-LDAP_LIBLITEKEY_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, liblitekey))
-ifeq ($(ARCH), WINNT)
-LDAP_LIBLITEKEY = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, liblitekey))
-else
-LDAP_LIBLITEKEY = -llitekey
-endif
-
-ifneq ($(LDAP_NO_LIBLCACHE),1)
-LDAP_SLIBLCACHE_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBLCACHE_LIB)))
-ifeq ($(ARCH), WINNT)
-LDAP_SLIBLCACHE = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBLCACHE_LIB)))
-else
-# XXXmcs: on UNIX we actually use the DLL (?)
-LDAP_SLIBLCACHE = $(LDAP_SDK_LIBLCACHE_DLL)
-endif
-endif
-
-# dynamic libs that we ship will be put in <reldir>/lib and
-# static libs that we use to build other ds components will
-# be put in <builddir>/lib; this is mostly for NT and other
-# platforms that separate the static and dynamic code
-ifeq ($(ARCH), WINNT)
-LDAP_LIBBACK_LDBM_LIBDIR = $(LDAP_LIB_RELDIR)
-LDAP_LIBBACK_LDBM_DLLDIR = $(LDAP_LIB_RELDIR)
-LDAP_LIBBACK_LDBM = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBBACK_LDBM_LIB)))
-else
-LDAP_LIBBACK_LDBM = -lback-ldbm
-LDAP_LIBBACK_LDBM_LIBDIR = $(LDAP_LIB_RELDIR)
-LDAP_LIBBACK_LDBM_DLLDIR = $(LDAP_LIB_RELDIR)
-endif
-LDAP_LIBBACK_LDBM_DEP = $(addsuffix .$(DLL_SUFFIX), \
- $(addprefix $(LDAP_LIBBACK_LDBM_LIBDIR)/, $(LIBBACK_LDBM_DLL)))
-
-#
-# Libldapu
-#
-LIBLDAPU_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libldapu))
-ifeq ($(ARCH), WINNT)
-LIBLDAPU = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libldapu))
-else
-LIBLDAPU = -lldapu
-endif
-
-#
-# Libadmin
-#
-LIBADMIN_DEP_OLD = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libadmin))
-ifeq ($(ARCH), WINNT)
-LIBADMIN_OLD = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libadmin))
-else
-LIBADMIN_OLD = -ladmin
-endif
-
-LIBADMIN=$(LIBADMIN_OLD)
-LIBADMIN_DEP=$(LIBADMIN_DEP_OLD)
-
-#
-# Shared library for slapd objects---this contains
-# everything prototyped in backendext.h, and
-# in slapd-proto.h The latter routines are not
-# for public consumption, but live in the library
-# used by 3rd party backends.
-# On NT, the libslapd dll is packaged in the same directory as the server
-# On Unix, the libslapd dll is packaged in the <server root>/lib directory
-ifeq ($(ARCH), WINNT)
-LIBSLAPD_DEP = $(addsuffix .$(DLL_SUFFIX), \
- $(addprefix $(LDAP_SERVER_RELDIR)/, libslapd$(DLL_PRESUFFIX)))
-LIBSLAPD_DLL = $(addsuffix .$(DLL_SUFFIX), \
- $(addprefix $(LDAP_SERVER_RELDIR)/, libslapd$(DLL_PRESUFFIX)))
-LIBSLAPD = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, libslapd))
-LIBSLAPDLINK = /LIBPATH:$(LDAP_LIBDIR) libslapd.$(LIB_SUFFIX)
-# This is a list of other files (for NT) the dsadmin dll needs to be
-# copied to
-LIBSLAPD_RELDLLS = $(LDAP_SERVER_RELDIR)/libslapd$(DLL_PRESUF).$(DLL_SUFFIX)
-LIBSLAPD_RELDIRS = $(LDAP_SERVER_RELDIR)
-else
-# libslapd is now in $(RELDIR)/bin/slapd/server
-LIBSLAPD_DEP = $(addsuffix .$(DLL_SUFFIX), \
- $(addprefix $(LDAP_SERVER_RELDIR)/, libslapd$(DLL_PRESUFFIX)))
-LIBSLAPD_DLL = $(LIBSLAPD_DEP)
-LIBSLAPD = -L$(LDAP_SERVER_RELDIR) -lslapd$(DLL_PRESUFFIX)
-LIBSLAPDLINK = $(LIBSLAPD)
-endif
-
-#
-# XP
-#
-LIBXP_DEP = $(NSCP_DISTDIR)/lib/libxp.$(LIB_SUFFIX)
-ifeq ($(ARCH), WINNT)
-LIBXP = $(NSCP_DISTDIR)/lib/libxp.$(LIB_SUFFIX)
-else
-LIBXP = -lxp
-endif
-
-#
-# SSLIO
-#
-LIBSSLIO_DEP = $(NSCP_DISTDIR)/lib/libsslio.$(LIB_SUFFIX)
-ifeq ($(ARCH), WINNT)
-LIBSSLIO = $(NSCP_DISTDIR)/lib/libsslio.$(LIB_SUFFIX)
-else
-LIBSSLIO = -lsslio
-endif
-
-#
-# Libsec
-#
-LIBSEC_DEP = $(NSCP_DISTDIR)/lib/libsec-$(SECURITY_EXTN).$(LIB_SUFFIX)
-LIBSEC = $(NSCP_DISTDIR)/lib/libsec-$(SECURITY_EXTN).$(LIB_SUFFIX)
-
-#
-# Libdb
-#
-LIBDB_DEP = $(NSCP_DISTDIR)/lib/libdbm.$(LIB_SUFFIX)
-ifeq ($(ARCH), WINNT)
-LIBDB = $(NSCP_DISTDIR)/lib/libdbm.$(LIB_SUFFIX)
-else
-LIBDB = -ldbm
-endif
-
-#
-# ACL library, Libaccess
-#
-LIBACCESS_DEP = $(LDAP_LIBDIR)/libaccess.$(LIB_SUFFIX)
-ifeq ($(ARCH), WINNT)
-LIBACCESS = $(LDAP_LIBDIR)/libaccess.lib
-else
-LIBACCESS = -laccess
-endif
-
-#
-# Dynamic libraries and dependancies, LDAP SDK
-#
-ifeq ($(ARCH), WINNT)
-LIBLDAP_DLL = nsldap32v$(DIRSDK_VERSION_DLL_SUFFIX)
-LIBLDAP_LIB = nsldaps32v$(DIRSDK_VERSION_DLL_SUFFIX)
-LIBSSLDAP_LIB = nsldapssl32v$(DIRSDK_VERSION_DLL_SUFFIX)
-LIBLCACHE_DLL = nslch32v$(DIRSDK_VERSION_DLL_SUFFIX)
-LIBLCACHE_LIB = nslchs32v$(DIRSDK_VERSION_DLL_SUFFIX)
-else
-LIBLDAP_DLL = libldap$(DIRSDK_VERSION_DLL_SUFFIX)$(DLL_PRESUFFIX)
-LIBLCACHE_DLL = liblcache$(DIRSDK_VERSION_DLL_SUFFIX)$(DLL_PRESUFFIX)
-LIBLCACHE_LIB = liblcache$(DIRSDK_VERSION_DLL_SUFFIX)
-LIBLDAP_LIB = libldap$(DIRSDK_VERSION_DLL_SUFFIX)
-LIBSSLDAP_LIB = libssldap$(DIRSDK_VERSION_DLL_SUFFIX)
-endif
-
-ifdef PRODUCT_IS_DIRECTORY_SERVER
-# Get headers and libs from components directory
- LDAP_SDK_LIBLDAP_DLL_DEP = $(addsuffix .$(DLL_SUFFIX), \
- $(addprefix $(LDAP_LIBPATH)/, $(LIBLDAP_DLL)))
-
- ifeq ($(ARCH), WINNT)
- LDAP_SDK_LIBLDAP_DLL = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBPATH)/, $(LIBLDAP_DLL)))
- else
- LDAP_SDK_LIBLDAP_DLL = -lldap$(DIRSDK_VERSION_DLL_SUFFIX)$(DLL_PRESUFFIX)
- endif
-
- LDAP_SDK_LIBSSLDAP_LIB_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBPATH)/, $(LIBSSLDAP_LIB)))
-
- LDAP_SDK_LIBSSLDAP_LIB = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBPATH)/, $(LIBSSLDAP_LIB)))
-
- ifneq ($(LDAP_NO_LIBLCACHE),1)
- LDAP_SDK_LIBLCACHE_DLL_DEP = $(addsuffix .$(DLL_SUFFIX), \
- $(addprefix $(LDAP_LIBPATH)/, $(LIBLCACHE_DLL)))
-
- ifeq ($(ARCH), WINNT)
- LDAP_SDK_LIBLCACHE_DLL = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBPATH)/, $(LIBLCACHE_DLL)))
- else
- LDAP_SDK_LIBLCACHE_DLL = -llcache$(DIRSDK_VERSION_DLL_SUFFIX)$(DLL_PRESUFFIX)
- endif
- endif
-else
-# Client SDK
- LDAP_SDK_LIBLDAP_DLL_DEP = $(addsuffix .$(DLL_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBLDAP_DLL)))
-
- ifeq ($(ARCH), WINNT)
- LDAP_SDK_LIBLDAP_DLL = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBLDAP_DLL)))
- else
- LDAP_SDK_LIBLDAP_DLL = -lldap$(DIRSDK_VERSION_DLL_SUFFIX)$(DLL_PRESUFFIX)
- endif
-
- LDAP_SDK_LIBSSLDAP_LIB_DEP = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBSSLDAP_LIB)))
-
- LDAP_SDK_LIBSSLDAP_LIB = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBSSLDAP_LIB)))
-
- ifneq ($(LDAP_NO_LIBLCACHE),1)
- LDAP_SDK_LIBLCACHE_DLL_DEP = $(addsuffix .$(DLL_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBLCACHE_DLL)))
-
- ifeq ($(ARCH), WINNT)
- LDAP_SDK_LIBLCACHE_DLL = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LIBLCACHE_DLL)))
- else
- LDAP_SDK_LIBLCACHE_DLL = -llcache$(DIRSDK_VERSION_DLL_SUFFIX)$(DLL_PRESUFFIX)
- endif
- endif
-endif
-
-#dboreham: removed LIBLCACHE from the following lines---everybody was
-#linking with liblcache, which isn't right.
-LDAP_SDK_LIBS_DEP = $(LDAP_SDK_LIBSSLDAP_LIB_DEP) \
- $(LDAP_SDK_LIBLDAP_DLL_DEP)
-
-LDAP_SDK_LIBS = $(LDAP_SDK_LIBSSLDAP_LIB) $(LDAP_SDK_LIBLDAP_DLL)
-
-#
-# Dynamic and static libraries, BACK-LDBM
-#
-ifeq ($(ARCH), WINNT)
-LIBBACK_LDBM_DLL = libback-ldbm
-LIBBACK_LDBM_LIB = libback-ldbms
-else
-LIBBACK_LDBM_DLL = libback-ldbm$(DLL_PRESUFFIX)
-LIBBACK_LDBM_LIB = libback-ldbm
-endif
-
-#
-# Dynamic library, BACK-LDIF
-#
-#ifeq ($(ARCH), WINNT)
-LIBBACK_LDIF_DLL = libback-ldif
-#else
-LIBBACK_LDIF_DLL = libback-ldif$(DLL_PRESUFFIX)
-#endif
-
-#
-# Dynamic library, REFERINT
-#
-ifeq ($(ARCH), WINNT)
-REFERINT_DLL = referint-plugin
-else
-REFERINT_DLL = libreferint-plugin$(DLL_PRESUFFIX)
-endif
-
-#
-# Dynamic library, SYNTAX
-#
-ifeq ($(ARCH), WINNT)
-SYNTAX_DLL = syntax-plugin
-else
-SYNTAX_DLL = libsyntax-plugin$(DLL_PRESUFFIX)
-endif
-
-#
-# Dynamic library, COLLATION
-#
-COLLATION_DLL=libcollation-plugin$(DLL_PRESUFFIX)
-
-#
-# Dynamic library, NT Synchronization Service plugin
-#
-NTSYNCH_DLL=libntsynch-plugin$(DLL_PRESUFFIX)
-
-#
-# Dynamic library, PASS THROUGH AUTHENTICATION PLUGIN
-#
-PASSTHRU_DLL = libpassthru-plugin$(DLL_PRESUFFIX)
-
-#
-# Dynamic library, PAM PASS THROUGH AUTHENTICATION PLUGIN
-#
-PAM_PASSTHRU_DLL = libpam-passthru-plugin$(DLL_PRESUFFIX)
-
-#
-# Dynamic library, UNIQUE UID CHECKING PLUGIN
-#
-UID_DLL = libattr-unique-plugin$(DLL_RESUFFIX)
-
-# Dynamic library, Replication Plugin
-#
-REPLICATION_DLL = libreplication-plugin$(DLL_RESUFFIX)
-
-RETROCL_DLL = libretrocl-plugin$(DLL_RESUFFIX)
-
-#
-# Dynamic library, ACL PLUGIN
-#
-ACL_DLL = libacl-plugin$(DLL_RESUFFIX)
-
-#
-# Dynamic library, TEST-PLUGINS
-#
-ifeq ($(ARCH), WINNT)
-TEST_PLUGIN_DLL = ns-test-plugin
-else
-TEST_PLUGIN_DLL = libtest-plugin
-endif
-
-#
-# Dynamic library, PWDSTORAGE
-#
-ifeq ($(ARCH), WINNT)
-PWD_DLL = pwdstorage-plugin
-else
-PWD_DLL = libpwdstorage-plugin$(DLL_PRESUFFIX)
-endif
-
-#
-# Dynamic library, DISTRIBUTION EXAMPLE
-#
-ifeq ($(ARCH), WINNT)
-DIS_DLL = distrib-plugin
-else
-DIS_DLL = libdistrib-plugin$(DLL_PRESUFFIX)
-endif
-
-#
-# Chaining backend library, CHAINING DATABASE PLUGIN
-#
-CB_DLL = libchainingdb-plugin$(DLL_PRESUFFIX)
-
-#
-# Admin server dynamic library location.
-#
-ifeq ($(BUILD_MODULE), HTTP_ADMIN)
-ADMININCLUDEDIR = $(BUILD_ROOT)/include
-endif
-
-ifeq ($(ARCH), AIX)
-ADMSONAME=ns-admin$(DLL_PRESUFFIX).$(DLL_SUFFIX)
-else
-ifeq ($(ARCH), WINNT)
-ADMSONAME=ns-admin.$(LIB_SUFFIX)
-endif # WINNT
-endif # AIX
-
-ifndef ADMSONAME
-ADMSONAME=ns-admin.$(DLL_SUFFIX)
-endif
-
-ifndef ADMSOLIB
-ADMSOLIB = $(BASIC_OBJDIR)-admin/$(ADMSONAME)
-endif
-
-#
-# Library path
-#
-ifeq ($(ARCH), WINNT)
-LIBPATH=LIBPATH:
-else
-LIBPATH=L
-endif
-
-#
-# Web server dynamic library.
-#
-ifeq ($(ARCH), WINNT)
-
-NSHTTPD_DEP = $(COMMON_OBJDIR)/$(BUILD_HTTPDLL_NAME).$(LIB_SUFFIX)
-NSHTTPD = /LIBPATH:$(COMMON_OBJDIR) $(BUILD_HTTPDLL_NAME).$(LIB_SUFFIX)
-DYN_NSHTTPD=$(NSHTTPD)
-NSHTTPD_DLL=$(BUILD_HTTPDLL_NAME)
-
-else
-
-NSHTTPD=$(COMMON_OBJDIR)/$(BUILD_HTTPDLL_NAME).$(DLL_SUFFIX)
-NSHTTPD_DEP = $(NSHTTPD)
-DYN_NSHTTPD=-L$(COMMON_OBJDIR) -l$(LINK_HTTPDLL_NAME)
-NSHTTPD_DLL=$(BUILD_HTTPDLL_NAME)
-
-ifeq ($(ARCH), SOLARIS)
-
-DLLEXPORTS_PREFIX=-Blocal -M
-
-else
-ifeq ($(ARCH), SOLARISx86)
-
-DLLEXPORTS_PREFIX=-Blocal -M
-
-else
-ifeq ($(ARCH), IRIX)
-
-DLLEXPORTS_PREFIX=-exports_file
-
-else
-ifeq ($(ARCH),HPUX)
-
-else
-ifeq ($(ARCH),AIX)
-
-NSHTTPD = $(COMMON_OBJDIR)/$(BUILD_HTTPDLL_NAME)$(DLL_PRESUF).$(DLL_SUFFIX)
-DLLEXPORTS_PREFIX=-bE:
-ifdef OLD_AIX_LINKING
- DL=-lsvld
-else
- DL=-ldl
-# flags added to every link
- PLATFORMLDFLAGS = -brtl
-endif
-
-else
-ifeq ($(ARCH),OSF1)
-
-DL=
-
-else
-ifeq ($(ARCH), Linux)
-
-DL=-ldl
-
-else
-ifeq ($(ARCH),ReliantUNIX)
-
-DYN_NSHTTPD=$(NSHTTPD)
-DL=-ldl
-
-else
-ifeq ($(ARCH),UnixWare)
-
-DYN_NSHTTPD=$(NSHTTPD)
-DL=
-
-else
-#the previous default
-#NSHTTPD=$(NSCP_DISTDIR)/lib/$(BUILD_HTTPDLL_NAME).$(DLL_SUFFIX)
-#DYN_NSHTTPD=$(NSHTTPD)
-#DL=-ldl
-#
-#the new default, which is much better when it comes to porting this product
-NSHTTPD="you need to edit ldap/nsldap.mk for $(ARCH)"
-DYN_NSHTTPD="you need to edit ldap/nsldap.mk for $(ARCH)"
-endif # UnixWare
-endif # ReliantUNIX
-endif # Linux
-endif # OSF1
-endif # AIX
-endif # HPUX
-endif # IRIX
-endif # SOLARISx86
-endif # SOLARIS
-endif # WINNT
-
-
-ADMIN_SECGLUEOBJ=$(BASIC_OBJDIR)-admin/admin-lib/secglue.o
-
-SECGLUEOBJ=$(BUILD_ROOT)/built/$(NS_BUILD_FLAVOR)/httpd-lib/secglue.o
-# XXXggood need to pick up the /share/builds versions of the shared libs
-# because ones we build here don't appear to be compatible with existing
-# shared libs, which are used by admin server.
-#SDKROOT = /share/builds/components/ldapsdk/19961107-bad/$(NC_BUILD_FLAVOR)
-#SDKLDIR = $(SDKROOT)/lib
-#SDKROOT = /share/builds/components/ldapsdk/latest/$(NC_BUILD_FLAVOR)
-#SDKLDIR = $(SDKROOT)/lib
-SDKROOT = $(OBJDIR)
-SDKLDIR = $(SDKROOT)/lib
-SDKHDIR = $(SDKROOT)/include
-LDB_HDIR = $(LDAP_SRC)/libraries/berkeley_db/PORT/include
-
-#
-# Compiler symbol definition
-#
-LDAP_REFERRALS=-DLDAP_REFERRALS
-SLAPD_BACKENDS=-DLDAP_LDBM -DLDAP_LDIF
-LDBMBACKEND=-DLDBM_USE_DBBTREE
-SLAPD_PASSWD_HASH=-DSLAPD_PASSWD_SHA1
-# all debug and server builds are done with LDAP_DEBUG defined.
-# SDK builds pass LDAP_NO_LDAPDEBUG=1 which causes us not to define
-# LDAP_DEBUG in optimized builds.
-ifneq ($(BUILD_DEBUG), optimize)
-LDAP_DEBUG=-DLDAP_DEBUG
-else
-ifneq ($(LDAP_NO_LDAPDEBUG),1)
-LDAP_DEBUG=-DLDAP_DEBUG
-endif
-endif
-NEEDPROTOS=-DNEEDPROTOS
-WINSOCK=-DWINSOCK
-USE_LOCKF=-DUSE_LOCKF
-LDAP_SSLIO_HOOKS=-DLDAP_SSLIO_HOOKS
-DBINTERFACE_PRIVATE=-D__DBINTERFACE_PRIVATE
-NO_DOMAINNAME=-DNO_DOMAINNAME
-
-ifeq ($(LDAP_NO_LIBLCACHE),1)
-NO_LIBLCACHE=-DNO_LIBLCACHE
-endif
-
-ifeq ($(BUILD_MODULE), DIRECTORY)
-NS_DIRECTORY=-DNS_DIRECTORY
-endif
-
-# uncomment this line to use soundex for approximate matches in slapd.
-# the default is to use the metaphone algorithm.
-#PHONETIC=-DSOUNDEX
-
-#
-# uncomment for LDAP over UDP
-#CLDAP=-DCLDAP
-
-#
-# uncomment for Universty of Michigan specific things.
-#UOFM=-DUOFM
-
-#
-# uncomment for elimination of local caching support in Libldap
-#NO_CACHE=-DNO_CACHE
-
-#
-# 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
-
-#
-# 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.
-#
-#KERBEROS=-DKERBEROS
-#AFSKERBEROS=-DAFSKERBEROS
-#KRBINCLUDEFLAG = -I/usr/local/kerberos/include
-#KRBLIBFLAG = -L/usr/local/kerberos/lib
-#KRBLIBS = -lkrb -ldes
-
-# General non-Windows compiler options
-#
-# Passed to every compile (cc or gcc). This is where you put -O or -g, etc.
-ifneq ($(ARCH), WINNT)
-ifdef BUILD_OPT
-ifeq ($(ARCH) $(NSOS_RELEASE), HPUX B.11.23)
-EXTRACFLAGS=+O3
-else
-EXTRACFLAGS=-O
-endif
-else
-EXTRACFLAGS=-g
-endif
-endif
-
-ifeq ($(ARCH), WINNT)
-ifeq ($(DEBUG), full)
-DSLDDEBUG=/debug
-else
-ifeq ($(DEBUG), purify)
-DSLDDEBUG=/debug
-endif
-endif
-ifndef HEAPAGENT
-PDBOPT=/PDB:NONE
-endif
-endif
-
-#
-# SSL-related definitions
-#
-ifeq ($(SECURITY), export)
-SECURITY_EXTN=export
-endif
-ifeq ($(SECURITY), domestic)
-SECURITY_EXTN=us
-endif
-
-SSL = -DUSE_NSPR_MT
-EXTRASSLLIBS = $(LIBARES)
-
-ifeq ($(ARCH), WINNT)
-SSLLIBS = $(EXTRASSLLIBS)
-endif
-
-ifeq ($(ARCH), WINNT)
-LIBNT = $(OBJDIR)/libnt.lib
-LIBNT_DEP = $(LIBNT)
-endif
-
-# If you are certain that an executable will not be using libsec, include
-# the following early in the link command. secglue.o includes "do nothing"
-# shims for most libsec functions. We do this to reduce our size.
-ifeq ($(ARCH), WINNT)
-# MLM
-# SECGLUE= ns-admin.lib
-SECGLUE = $(NSHTTPD) $(OSDEPLIBS) $(LIBNT)
-NOSSLLIBS = $(LDAP_LIBDIR)/libldap.lib \
- $(SSLLIBS) $(ALIBS)
-else
-# $(ARCH) != WINNT
-ifeq ($(ARCH), Linux)
-# XXXsspitzer: all gcc platforms will have to do this
-SECGLUE= $(SECGLUEOBJS) $(DYN_NSHTTPD)
-# $(LIBARES)
-else # Linux
-SECGLUE= $(SECGLUEOBJS) $(DYN_NSHTTPD)
-# $(LIBARES)
-endif # Linux
-NOSSLLIBS = $(LDAP_SDK_LIBLDAP_DLL) $(LDAP_SDK_LIBLCACHE_DLL)\
- $(SECGLUE) $(ALIBS)
-endif
-
-ifeq ($(BUILD_DLL), yes)
-STATIC_SECDEPS= $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(COMMON_OBJDIR)/lib/lib, \
- $(LIBADMIN) $(FRAME) $(LIBACCESS) $(CRYPT))) \
- $(LIBSEC) $(LIBNSPR)
-
-DYNAMIC_DEPLIBS=$(LDAP_COMMON_LIBS)
-DYNAMIC_DEPLINK=$(DYNAMIC_DEPLIBS)
-else
-STATIC_DEPLIBS=$(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(OBJDIR)/lib/lib, \
- $(LIBADMIN) $(FRAME) $(LIBACCESS) $(CRYPT))) \
- $(LIBNSPR)
-
-STATIC_SECDEPS=$(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(OBJDIR)/lib/lib, \
- $(LIBADMIN) $(FRAME) $(LIBACCESS) $(CRYPT))) \
- $(LIBSEC) $(LIBNSPR)
-
-DYNAMIC_DEPLIBS=$(LDAP_COMMON_LIBS)
-DYNAMIC_DEPLINK=$(LDAP_COMMON_LIBS)
-endif
-
-ifndef DEPLIBS
-DEPLIBS = $(DYNAMIC_DEPLIBS)
-DEPLINK = $(DYNAMIC_DEPLINK)
-ifeq ($(ARCH), WINNT)
-SECDEPS = $(DEPLIBS) $(SECGLUE) $(XP_OBJS)
-else
-SECDEPS = $(STATIC_SECDEPS)
-endif
-SECLINK = $(SECDEPS)
-endif
-
-HTMLDEFS=-DPRODUCT_NAME=$(PRODUCT) -D$(ARCH) -DARCH=$(PRETTY_ARCH)
-
-#
-# Windows NT platform-specifics
-#
-ifeq ($(ARCH), WINNT)
-
-PLATFORM_INCLUDE = -I$(BUILD_ROOT)/include/nt \
- -I$(LDAP_SRC)/libraries/libutil
-
-SYSERRLIST_IN_STDIO=-DSYSERRLIST_IN_STDIO
-
-endif # WINNT
-
-ifeq ($(ARCH), SOLARIS)
-#
-# SunOS5 platform-specifics
-#
-
-PLATFORM=sunos5
-
-# ranlib not needed under SunOS5
-RANLIB = true
-
-ifdef NS_USE_NATIVE
-# be explicit about which CC to use
-CC=cc -v
-endif
-
-# gie 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=$(LDAP_SRC)/build/install.sh
-
-# Flags required to cause compiler to generate code suitable for use in
-# a shared library.
-ifdef NS_USE_NATIVE
-SLCFLAGS= -KPIC
-else
-SLCFLAGS= -fPIC
-endif
-
-# Extra linker options needed when creating shared libraries
-DYNALIBS=
-
-# flag to pass to cc when linking to set runtime shared library search path
-# this is used like this, for example: $(RPATHFLAG_PREFIX)../..
-RPATHFLAG_PREFIX=-R
-
-# flag to pass to ld when linking to set runtime shared library search path
-# this is used like this, for example: $(LDRPATHFLAG_PREFIX)../..
-LDRPATHFLAG_PREFIX=-R
-
-# flag to pass to ld to set a shared library's "internal name"
-# this is used like this, for example: $(SONAMEFLAG_PREFIX)libldap.so
-ifdef NS_USE_NATIVE
-SONAMEFLAG_PREFIX=-h
-endif
-
-THREADS= -DTHREAD_SUNOS5_LWP
-PLAT_ADMCFLAGS= -DSVR4 -DSOLARIS
-PLAT_ADMLIBS=
-PLATFORMCFLAGS= -D$(PLATFORM) -D_REENTRANT -DSVR4
-PLATFORMLIBS= -lresolv -lsocket -lnsl -lgen -ldl -lposix4 -lw
-THREADS= -DTHREAD_SUNOS5_LWP
-THREADSLIB=-lthread
-endif # SOLARIS
-
-ifeq ($(ARCH), SOLARISx86)
-#
-# Solaris x86 platform-specifics
-#
-
-PLATFORM=sunos5x86
-
-# ranlib not needed under sunos5x86
-RANLIB = true
-
-# be explicit about which CC to use
-CC=cc
-#CC=gcc
-
-# 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=$(LDAP_SRC)/build/install.sh
-
-# Flags required to cause compiler to generate code suitable for use in
-# a shared library.
-ifeq ($(CC), cc)
-SLCFLAGS= -KPIC
-else
-SLCFLAGS= -fPIC
-endif
-
-# Extra linker options needed when creating shared libraries
-DYNALIBS=
-
-# flag to pass to cc when linking to set runtime shared library search path
-# this is used like this, for example: $(RPATHFLAG_PREFIX)../..
-RPATHFLAG_PREFIX=-R,
-
-# flag to pass to ld when linking to set runtime shared library search path
-# this is used like this, for example: $(LDRPATHFLAG_PREFIX)../..
-LDRPATHFLAG_PREFIX=-R
-
-# flag to pass to ld to set a shared library's "internal name"
-# this is used like this, for example: $(SONAMEFLAG_PREFIX)libldap.so
-SONAMEFLAG_PREFIX=-h
-
-THREADS= -DTHREAD_SUNOS5x86_LWP
-PLAT_ADMCFLAGS= -DSVR4 -DSOLARISx86 -DSOLARIS
-PLAT_ADMLIBS=
-PLATFORMCFLAGS= -D$(PLATFORM) -D_REENTRANT -DSVR4
-PLATFORMLIBS= -lresolv -lsocket -lnsl -lgen -ldl -lposix4 -lw
-THREADS= -DTHREAD_SUNOS5x86_LWP
-THREADSLIB=-lthread
-endif # SOLARISx86
-
-ifeq ($(ARCH), SUNOS4)
-#
-# SunOS 4 platform-specifics
-#
-
-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 $(LDAP_SRC)/build/unproto
-endif # SUNOS4
-
-ifeq ($(ARCH), IRIX)
-#
-# IRIX platform-specifics
-#
-
-PLAT_ADMCFLAGS= -DSVR4 -DIRIX
-PLAT_ADMLIBS=
-
-PLATFORM=irix
-# ranlib not needed under IRIX
-RANLIB = true
-
-# 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=$(LDAP_SRC)/build/install.sh
-
-# flag to pass to cc when linking to set runtime shared library search path
-# this is used like this, for example: $(RPATHFLAG_PREFIX)../..
-RPATHFLAG_PREFIX=-Wl,-rpath,
-
-# flag to pass to ld when linking to set runtime shared library search path
-# this is used like this, for example: $(LDRPATHFLAG_PREFIX)../..
-LDRPATHFLAG_PREFIX=-rpath
-
-# flag to pass to ld to set a shared library's "internal name"
-# this is used like this, for example: $(SONAMEFLAG_PREFIX)libldap.so
-# Note that the definition below includes a trailing space.
-SONAMEFLAG_PREFIX=-soname
-
-PLATFORMCFLAGS=-DUSE_WAITPID -D$(PLATFORM)
-PLATFORMLIBS=
-THREADS= -DTHREAD_SGI_SPROC
-THREADSLIB=
-
-endif # IRIX
-
-ifeq ($(ARCH), OSF1)
-
-#
-# OSF1 platform-specifics
-#
-
-PLATFORM=OSF1
-
-# Even though prototypes are supported by the compiler, OSF's CC doesn't
-# seem to define __STDC__ so we explicitly defined NEEDPROTOS here.
-PLATFORMCFLAGS= -D$(PLATFORM) -DNEEDPROTOS -D_REENTRANT
-PLATFORMLIBS=
-THREADS= -DTHREAD_DCE_PTHREADS
-THREADSLIB= -lpthread
-
-# flag to pass to cc when linking to set runtime shared library search path
-# this is used like this, for example: $(RPATHFLAG_PREFIX)../..
-RPATHFLAG_PREFIX=-Wl,-rpath,
-
-# flag to pass to ld when linking to set runtime shared library search path
-# this is used like this, for example: $(LDRPATHFLAG_PREFIX)../..
-LDRPATHFLAG_PREFIX=-rpath
-
-# flag to pass to ld to set a shared library's "internal name"
-# this is used like this, for example: $(SONAMEFLAG_PREFIX)libldap.so
-# Note that the definition below includes a trailing space.
-SONAMEFLAG_PREFIX=-soname
-
-# the BSD-like install under OSF/1 is called installbsd
-# INSTALL=installbsd
-# use this shell script, instead of installbsd.
-INSTALL=$(LDAP_SRC)/build/install.sh
-
-endif # OSF1
-
-ifeq ($(ARCH), AIX)
-
-#
-# AIX platform-specifics
-#
-
-PLAT_ADMCFLAGS= -DAIX
-PLAT_ADMLIBS=
-
-PLATFORM=aix
-
-# ranlib for aix
-RANLIB=ranlib
-
-# install with BSD semantics
-INSTALL=$(LDAP_SRC)/build/install.sh
-
-# Flags to set runtime shared library search path. For example:
-# $(CC) $(RPATHFLAG_PREFIX)../..$(RPATHFLAG_EXTRAS)
-RPATHFLAG_PREFIX=-blibpath:
-RPATHFLAG_EXTRAS=:/usr/lib:/lib
-
-# flag to pass to ld when linking to set runtime shared library search path
-# this is used like this, for example: $(LDRPATHFLAG_PREFIX)../..
-LDRPATHFLAG_PREFIX=-blibpath:/usr/lib:/lib:
-
-PLATFORMCFLAGS= -D_AIX32_CURSES -DUSE_PTHREADS -DHW_THREADS \
- -DUSE_REENTRANT_LIBC -Daix -Dunix
-
-PLATFORMLIBS=
-THREADS= -DTHREAD_AIX_PTHREADS
-#SECGLUE= moresecglue.o \
-# $(BUILD_ROOT)/nspr/src/$(NC_BUILD_FLAVOR)/longlong.o \
-# $(BUILD_ROOT)/nspr/src/$(NC_BUILD_FLAVOR)/prprf.o
-
-# JCM - Use -bnoquiet to find out which symbols can't be resolved.
-DLL_LDFLAGS= -bexpall -brtl -bM:SRE -bnoentry \
- -L.:/usr/lib/threads:/usr/lpp/xlC/lib:/usr/lib:/lib
-DLL_EXTRA_LIBS= -bI:/usr/lib/lowsys.exp -lC_r -lC -lpthreads -lc_r -lm \
- /usr/lib/libc.a
-
-ifdef OLD_AIX_LINKING
-EXE_EXTRA_LIBS= -bI:/usr/lib/syscalls.exp -lsvld -lpthreads
-else
-EXE_EXTRA_LIBS= -bI:/usr/lib/syscalls.exp -ldl -lpthreads
-endif
-
-endif # AIX
-
-ifeq ($(ARCH), HPUX)
-#
-# HP-UX platform-specifics
-#
-
-ifeq ($(NSOS_RELEASE), B.11.23)
-# -Ae is removed from PLATFORMCFLAGS, because CC and CXX share
-# same CFLAGS, -AP is added to CXX, and -Ae can not coexist with
-# -AP, so add -Ae to the front of CC
-CC=cc -Ae
-else
-CC=cc
-endif
-PLATFORM=hpux
-
-# ranlib not needed under HP-UX
-RANLIB = true
-
-# install under HP-UX is not like on BSD systems, so we use our own script
-INSTALL=$(LDAP_SRC)/build/install.sh
-
-# Flags required to cause compiler to generate code suitable for use in
-# a shared library.
-SLCFLAGS=+Z
-
-# we need to link a separate library to get ndbm routines under HP/UX
-LDBMLIB=-lndbm
-
-# flag to pass to cc when linking to set runtime shared library search path
-# this is used like this, for example: $(RPATHFLAG_PREFIX)../..
-RPATHFLAG_PREFIX=-Wl,+s,+b,
-
-# flag to pass to ld when linking to set runtime shared library search path
-# this is used like this, for example: $(LDRPATHFLAG_PREFIX)../..
-LDRPATHFLAG_PREFIX=-Wl,+s,+b,
-
-# flag to pass to ld to set a shared library's "internal name"
-# this is used like this, for example: $(SONAMEFLAG_PREFIX) libldap.so
-SONAMEFLAG_PREFIX=-Wl,+h
-
-# we need to link in the V3 library to get sigset()
-# 07/03/02 - no longer needed - version 6.1
-# PLATFORMLIBS= -lV3
-
-# -Ae means 'enforce ansi BUT allow the use of long-long'. we need this
-# for 64-bit file support.
-ifneq ($(NSOS_RELEASE),B.11.23)
-PLATFORMCFLAGS= -Dhpux -D$(PLATFORM) -D_HPUX_SOURCE -D_REENTRANT -Ae
-else
-PLATFORMCFLAGS= -Dhpux -D$(PLATFORM) -D_HPUX_SOURCE -D_REENTRANT
-THREADSLIB=-lpthread
-endif
-
-#aCC doesn't recognize -Ae so this will be used with aCC
-ACC_PLATFORMCFLAGS= -Dhpux -D$(PLATFORM) -D_HPUX_SOURCE -D_REENTRANT
-
-endif # HPUX
-
-# UNIXWARE || UnixWare
-ifeq ($(subst nix,NIX,$(subst are,ARE,$(ARCH))), UNIXWARE)
-#
-# LDAP SVR4 standard cc Make-platform file
-# Uses the std SVR4 stuff whenever possible.
-# Some references to the BSD compatibility required.
-# "bsdcompat" is an optional package, but we need it installed for other builds
-#
-
-#
-# add any platform-specific overrides below here
-#
-
-# compiler to use, e.g. CC=cc or CC=gcc
-ifndef CC
-CC = cc
-endif
-
-# 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=$(LDAP_SRC)/build/install.sh
-
-# Flags required to cause compiler to generate code suitable for use in
-# a shared library.
-SLCFLAGS= -Kpic
-
-# Flags required to cause linker to create a shared library
-DYNAFLAGS= -G
-
-# Extra linker options needed then creating shared libraries
-DYNALIBS= -ldl
-
-# Filename extension for shared libraries
-DYNAEXT=so
-
-# ndbm library, needed if not in libc (e.g. LDBMLIB=-lndbm)
-LDBMLIB = -L/usr/ucblib -ldbm
-
-# BSD-like install command; if necessary, you can use a script
-INSTALL = /usr/ucb/install
-
-# command to convert libraries for efficient random access;
-RANLIB = true
-
-# flag to pass to ld to set a shared library's "internal name"
-# this is used like this, for example: $(SONAMEFLAG_PREFIX) libldap.so
-SONAMEFLAG_PREFIX=-h
-
-USE_LD_RUN_PATH=true
-
-# other commands - see the file build/Make-append for a list
-endif #UNIXWARE || UnixWare
-
-ifeq ($(ARCH), UNIXWARE)
-
-PLAT_ADMCFLAGS= -DUNIXWARE -DSVR4 -DSYSV
-
-# flags added to every compile
-PLATFORMCFLAGS= -DUNIXWARE -DSYSV -DSVR4
-
-# flags added to every link
-PLATFORMLDFLAGS =
-
-# extra libraries needed (added to the end of all link commands)
-PLATFORMLIBS = -lsocket -lnsl -lresolv -lgen
-
-# other commands - see the file build/Make-append for a list
-endif #UNIXWARE
-
-ifeq ($(ARCH), UnixWare)
-# Gemini: UnixWare7 (SVR5), or UNIXWARE2.1.x (SVR4) with the UDK
-SYSV_REL := $(shell $(BUILD_ROOT)/nsarch -f | sed 's/UnixWare //')
-ifeq ($(SYSV_REL),5)
-PLAT_ADMCFLAGS= -DUnixWare -DSVR5 -DSYSV
-PLATFORMCFLAGS= -DUnixWare -DSYSV -DSVR5
-else
-PLAT_ADMCFLAGS= -DUNIXWARE -DSVR4 -DSYSV
-PLATFORMCFLAGS= -DUNIXWARE -DSYSV -DSVR4
-endif
-
-# flags added to every link
-PLATFORMLDFLAGS =
-
-# extra libraries needed (added to the end of all link commands)
-PLATFORMLIBS = -lsocket -lnsl -lresolv -lgen
-
-# other commands - see the file build/Make-append for a list
-endif #UnixWare
-
-ifeq ($(ARCH), SCOOS)
-#
-# 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
-#
-
-# ranlib not needed under SCOOS
-RANLIB = true
-
-USE_LD_RUN_PATH=true
-
-CC= cc -b elf -KPIC -DSCO -DSCOOS
-
-# don't count on /usr/ucb/install being present or first in path
-INSTALL=$(LDAP_SRC)/build/install.sh
-
-# Flags required to cause compiler to generate code suitable for use in
-# a shared library.
-SLCFLAGS= -Kpic
-
-PLATFORMCFLAGS= -DSCO_SV -DSYSV -DHAVE_STRERROR -DSW_THREADS -DSCO_PM -DSCO -Dsco -DSCOOS
-
-PLATFORMLIBS= -lsocket
-
-#-lnsl -ldl -lpmapi -lc -lPW
-
-EXTRA_LIBS= -lsocket
-#-lnsl -ldl -lpmapi -lc -lPW
-
-endif # SCOOS
-
-ifeq ($(ARCH), NCR)
-#
-# 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
-ifndef CC
-CC = gcc
-endif
-
-# 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=$(LDAP_SRC)/build/install.sh
-
-# Flags required to cause compiler to generate code suitable for use in
-# a shared library.
-SLCFLAGS= -fpic
-
-PLAT_ADMCFLAGS= -DNCR -Di386 -DSVR4 -DSYSV -DHAVE_STRERROR -DSW_THREADS
-
-# flags added to every compile
-PLATFORMCFLAGS= -DNCR -Di386 -DSVR4 -DSYSV -DHAVE_STRERROR -DSW_THREADS
-
-# flags added to every link
-PLATFORMLDFLAGS =
-
-# extra libraries needed (added to the end of all link commands)
-PLATFORMLIBS = -lsocket -lnsl -lgen
-
-EXTRA_LIBS = -lsocket -lnsl -lgen -ldl -lc /usr/ucblib/libucb.a
-
-# Flags required to cause linker to create a shared library
-DYNAFLAGS= -G
-
-# Extra linker options needed then creating shared libraries
-DYNALIBS= -ldl
-
-# Filename extension for shared libraries
-DYNAEXT=so
-
-# ndbm library, needed if not in libc (e.g. LDBMLIB=-lndbm)
-LDBMLIB = -L/usr/ucblib -ldbm
-
-# command to convert libraries for efficient random access;
-RANLIB = true
-
-USE_LD_RUN_PATH=true
-
-# other commands - see the file build/Make-append for a list
-endif #NCR
-
-ifeq ($(ARCH), ReliantUNIX)
-#
-# ReliantUNIX platform-specifics
-#
-PLATFORM=reliantunix
-
-# ranlib not needed under ReliantUNIX
-RANLIB = true
-
-# be explicit about which CC to use
-CC=cc
-
-# gie 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=$(LDAP_SRC)/build/install.sh
-
-# Flags required to cause compiler to generate code suitable for use in
-# a shared library.
-SLCFLAGS=
-
-# Extra linker options needed when creating shared libraries
-DYNALIBS=
-
-# flag to pass to cc when linking to set runtime shared library search path
-# this is used like this, for example: $(RPATHFLAG_PREFIX)../..
-RPATHFLAG_PREFIX=-Wl,-R,
-USE_LD_RUN_PATH=true
-
-# flag to pass to ld to set a shared library's "internal name"
-# this is used like this, for example: $(SONAMEFLAG_PREFIX)libldap.so
-SONAMEFLAG_PREFIX=-h
-
-THREADS= -DTHREAD_SUNOS5_LWP
-PLAT_ADMCFLAGS= -DSVR4 -DSNI -DRELIANTUNIX
-PLAT_ADMLIBS=
-PLATFORMCFLAGS= -D$(PLATFORM) -DSVR4 -DSNI -DRELIANTUNIX
-#libc_r.so.1 for strtok_r? talk to ckaiser. maybe libsni_r.a?
-#right now, check out ns/nspr20/pr/include/md/_reliantunix.cfg and
-#ns/nspr20/pr/src/md/unix/reliantunix.c
-PLATFORMLIBS= -lresolv -lsocket -lnsl -lgen -ldl
-THREADS=
-THREADSLIB=
-
-endif # ReliantUNIX
-
-ifeq ($(ARCH), Linux)
-#
-# add any platform-specific overrides below here
-#
-
-# compiler to use, e.g. CC=cc or CC=gcc
-CC=/usr/bin/gcc
-
-# give full path to hostname since it may not be in user's path
-HOSTNAME=/bin/hostname
-
-# don't count on /usr/ucb/install being present or first in path
-INSTALL=$(LDAP_SRC)/build/install.sh
-
-# flag to pass to cc when linking to set runtime shared library search path
-# this is used like this, for example: $(RPATHFLAG_PREFIX)../..
-RPATHFLAG_PREFIX=-Wl,-rpath,
-
-# flag to pass to ld when linking to set runtime shared library search path
-# this is used like this, for example: $(LDRPATHFLAG_PREFIX)../..
-# note, there is a trailing space
-LDRPATHFLAG_PREFIX=-rpath
-
-# Flags required to cause compiler to generate code suitable for use in
-# a shared library.
-SLCFLAGS= -fpic
-
-PLAT_ADMCFLAGS= -DLINUX -DLINUX2_0 -DLINUX2_2 -DLinux
-
-# flags added to every compile
-PLATFORMCFLAGS= -DLINUX -DLINUX2_0 -DLINUX2_2 -DLinux
-
-# flags added to every link
-PLATFORMLDFLAGS =
-
-# extra libraries needed (added to the end of all link commands)
-PLATFORMLIBS =
-
-EXTRA_LIBS = -ldl
-
-# Flags required to cause linker to create a shared library
-DYNAFLAGS= -shared
-
-# Extra linker options needed then creating shared libraries
-DYNALIBS= -ldl
-
-# Filename extension for shared libraries
-DYNAEXT=so
-
-# ndbm library, needed if not in libc (e.g. LDBMLIB=-lndbm)
-LDBMLIB = -L/usr/ucblib -ldbm
-
-# command to convert libraries for efficient random access;
-RANLIB = ranlib
-
-# other commands - see the file build/Make-append for a list
-endif # Linux
-
-#
-# DEFS are included in CFLAGS
-#
-DEFS = $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
- $(UOFM) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) $(DBDEFS) \
- $(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
- $(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
- $(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC) \
- $(SLAPD_PASSWD_HASH) $(LDAP_SSLIO_HOOKS) $(DBINTERFACE_PRIVATE) \
- $(NO_LIBLCACHE) $(SYSERRLIST_IN_STDIO) \
- $(NS_DIRECTORY)
-
-ifeq ($(ARCH), WINNT)
-DEFS += $(NEEDPROTOS) $(NO_DOMAINNAME)
-endif
-
-# DEFS += $(USE_LOCKF)
-
-# 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
-ifneq ($(ARCH), WINNT)
-# Passed to every link (ld). Include -g here if you did in EXTRACFLAGS.
- EXTRALDFLAGS=-$(LIBPATH)$(LDAP_LIBDIR)
-endif
-
-ifeq ($(ARCH), IRIX)
- ifeq ($(USE_N32), 1)
- PLATFORMLDFLAGS=-n32 -mips3
- endif
-endif
-
-ALDFLAGS = $(EXTRALDFLAGS) $(PLATFORMLDFLAGS)
-
-# ALIBS are always placed at the end of all linker (cc -o) commands
-ALIBS = $(PLATFORMLIBS)
-
-INCLUDES += -I$(LDAP_HDIR) $(PLATFORM_INCLUDE) -I$(DIRVERDIR)
-
-CFLAGS += $(DEFS) $(ACFLAGS) $(INCLUDES)
-
-# default definitions for utilities
-
-ifneq ($(ARCH), WINNT)
-SHELL = /bin/sh
-endif
-
-AR = ar cq
-RM = rm -f
-MV = mv -f
-
-CP = cp
-
-CHMOD = chmod
-CAT = cat
-
-ifneq ($(ARCH), WINNT)
-LN = ln -s
-HARDLN = ln
-endif
-
-TAIL = tail.exe
-SED = sed
-LINT = lint
-5LINT = lint
-MKDIR = mkdir -p
-
-ifneq ($(ARCH), WINNT)
-ifndef RANLIB
-RANLIB = ranlib
-endif
-ifndef INSTALL
-INSTALL = install
-endif
-ifndef INSTALLFLAGS
-INSTALLFLAGS = -c
-endif
-ifndef USE_LD_RUN_PATH
-ifndef RPATHFLAG_PREFIX
-RPATHFLAG_PREFIX="XXX Please define a platform-specific RPATHFLAG_PREFIX in nsldap.mk XXX"
-endif
-ifndef LDRPATHFLAG_PREFIX
-LDRPATHFLAG_PREFIX="XXX Please define a platform-specific LDRPATHFLAG_PREFIX in nsldap.mk XXX"
-endif
-endif
-BASENAME= basename
-DIRNAME = dirname
-else
-INSTALL = cp.exe -prv
-RM = rm.exe -rf
-MV = mv.exe -f
-
-CP = cp.exe -prv
-LN = cp.exe -prv
-HARDLN = cp.exe -prv
-
-CHMOD = chmod
-CAT = cat.exe
-MKDIR = mkdir.exe -p
-endif
-
-MKDEP = $(LDAP_SRC)/build/mkdep -s -f Make-template
-PWD = pwd
-DATE = date
-HOSTNAME= hostname
-
-#
-# Compiler output file
-#
-ifeq ($(ARCH), WINNT)
-EXE_SUFFIX=.exe
-RSC=rc
-OFFLAG=/Fo
-else
-OFFLAG=-o
-endif
-
-
-#
-# XXX: does anyone know of a better way to solve the "LINK_LIB2" problem? -mcs
-#
-# Link to produce a console/windows exe on Windows
-#
-ifeq ($(ARCH), WINNT)
-LINK_EXE = link -OUT:"$@" $(USE_MAP) $(ALDFLAGS) $(LDFLAGS) $(ML_DEBUG) \
- $(LCFLAGS) /NOLOGO $(PDBOPT) /DEBUGTYPE:BOTH /INCREMENTAL:NO \
- /SUBSYSTEM:$(SUBSYSTEM) $(DEPLIBS) $(EXTRA_LIBS) $(OBJS)
-LINK_EXE_NOLIBSOBJS = link -OUT:"$@" $(USE_MAP) $(ALDFLAGS) $(LDFLAGS) \
- $(ML_DEBUG) $(LCFLAGS) /NOLOGO $(PDBOPT) /DEBUGTYPE:BOTH /INCREMENTAL:NO \
- /SUBSYSTEM:$(SUBSYSTEM)
-LINK_LIB = lib -OUT:"$@" $(OBJS)
-LINK_LIB2 = lib -OUT:"$@" $(OBJS2)
-LINK_DLL = link /nologo $(USE_MAP) /DLL $(PDBOPT) /DEBUGTYPE:BOTH \
- $(ML_DEBUG) /SUBSYSTEM:WINDOWS $(LLFLAGS) $(DLL_LDFLAGS) \
- $(EXTRA_LIBS) /out:"$@" $(OBJS)
-LINK_DLL2 = link /nologo $(USE_MAP) /DLL $(PDBOPT) /DEBUGTYPE:BOTH \
- $(ML_DEBUG) /SUBSYSTEM:WINDOWS $(LLFLAGS) $(DLL_LDFLAGS) \
- $(EXTRA_LIBS) /out:"$@" $(OBJS2)
-else # WINNT
-#
-# UNIX link commands
-#
-LINK_LIB = $(RM) $@; $(AR) $@ $(OBJS); $(RANLIB) $@
-LINK_LIB2 = $(RM) $@; $(AR) $@ $(OBJS2); $(RANLIB) $@
-ifeq ($(ARCH), OSF1)
-DLL_LDFLAGS += $(LDRPATHFLAG_PREFIX) $(RPATHFLAG)$(RPATHFLAG_EXTRAS)
-else
-DLL_LDFLAGS += $(RPATHFLAG_PREFIX)$(RPATHFLAG)$(RPATHFLAG_EXTRAS)
-endif
-ifdef SONAMEFLAG_PREFIX
-LINK_DLL = $(LD) $(ALDFLAGS) $(ARCH_CFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
- -o $@ $(SONAMEFLAG_PREFIX)$(notdir $@) $(OBJS)
-LINK_DLL2 = $(LD) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS2) \
- -o $@ $(SONAMEFLAG_PREFIX)$(notdir $@) $(OBJS2)
-else # SONAMEFLAG_PREFIX
-LINK_DLL = $(LD) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS) \
- -o $@ $(OBJS)
-LINK_DLL2 = $(LD) $(ALDFLAGS) $(DLL_LDFLAGS) $(DLL_EXPORT_FLAGS2) \
- -o $@ $(OBJS2)
-endif # SONAMEFLAG_PREFIX
-
-ifeq ($(ARCH), HPUX)
-# On HPUX, we need a couple of changes:
-# 1) Use the C++ compiler for linking, which will pass the +eh flag on down to the
-# linker so the correct exception-handling-aware libC gets used (libnshttpd.sl
-# needs this).
-# 2) Add a "-Wl,-E,-N" option so the linker gets a "-E,-N" flag. This makes symbols
-# in an executable visible to shared libraries loaded at runtime and makes ns-slapd
-# 'normal executable' instead of 'shared executable'.
-DS_LINKEXE_EXTRA_FLAGS=-Wl,-E,-N,+k,+vshlibunsats
-LD=$(CXX)
-
-else
-ifeq ($(ARCH), OSF1)
-DS_LINKEXE_EXTRA_FLAGS=-taso
-else
-ifeq ($(ARCH), IRIX)
-DS_LINKEXE_EXTRA_FLAGS=-exceptions
-endif # IRIX
-endif # OSF
-endif # HPUX
-
-# Define an assortment of UNIX LINK_EXE macros.
-DS_LINKEXE_FLAGS=$(DS_LINKEXE_EXTRA_FLAGS) $(ALDFLAGS) $(LDFLAGS)
-ifdef USE_LD_RUN_PATH
-#does RPATH differently. instead we export RPATHFLAG as LD_RUN_PATH
-export LD_RUN_PATH=$(RPATHFLAG)
-else # USE_LD_RUN_PATH
-DS_LINKEXE_FLAGS += $(RPATHFLAG_PREFIX)$(RPATHFLAG)$(RPATHFLAG_EXTRAS)
-endif # USE_LD_RUN_PATH
-
-LINK_EXE = $(CXX) $(DS_LINKEXE_FLAGS) -o $@ \
- $(OBJS) $(EXTRA_LIBS)
-LINK_EXE_NOLIBSOBJS = $(CXX) $(DS_LINKEXE_FLAGS) -o $@
-endif # WINNT
-
-#
-# Path to platform-specific directory for berkeley db
-#
-ifeq ($(ARCH), SOLARIS)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/sunos.5.2
-else
-ifeq ($(ARCH), IRIX)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/irix.5.3
-else
-ifeq ($(ARCH), AIX)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/aix.4.2
-else
-ifeq ($(ARCH), OSF1)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/osf.2.0
-else
-ifeq ($(ARCH), HPUX)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/hpux.9.01
-else
-ifeq ($(ARCH), WINNT)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/winnt3.51
-else
-# UNIXWARE || UnixWare
-ifeq ($(subst nix,NIX,$(subst are,ARE,$(ARCH))), UNIXWARE)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/unixware.2.1
-else
-ifeq ($(ARCH), SCOOS)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/scoos.5.0
-else
-ifeq ($(ARCH), NCR)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/ncr.3.0
-else
-ifeq ($(ARCH), SOLARISx86)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/sunosx86.5.2
-else
-ifeq ($(ARCH), ReliantUNIX)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/reliantunix.5.4
-else
-ifeq ($(ARCH), Linux)
-LIBDB_MAKEDIR=$(LDAP_SRC)/libraries/berkeley_db/PORT/linux.2.0
-else
-LIBDB_MAKEDIR=XXX_UNDEFINED_XXX
-endif # Linux
-endif # ReliantUNIX
-endif # SOLARISx86
-endif # NCR
-endif # SCOOS
-endif # UnixWare || UNIXWARE
-endif # WINNT
-endif # HPUX
-endif # OSF1
-endif # AIX
-endif # IRIX
-endif # SOLARIS
-
-#
-# Add platform-specific include directory
-#
-# dboreham: this is bogus, take it out
-ifdef LDAP_USE_OLD_DB
-INCLUDES += -I$(LIBDB_MAKEDIR)/include
-endif
-
-#Changes required for ACL
-ACLINC = $(BUILD_ROOT)/include/libaccess
-#ACLDIR = -$(LIBPATH)$(LDAP_LIBDIR)
-ACLLIB = -laccess -lbase -lsi18n
-# end of changes
-
diff --git a/ldap/servers/Makefile b/ldap/servers/Makefile
deleted file mode 100644
index 3ec9bf18..00000000
--- a/ldap/servers/Makefile
+++ /dev/null
@@ -1,109 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-# GNU Makefile for ldap/servers
-#
-
-BUILD_ROOT = ../..
-LDAP_SRC = ../
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-PRE_SLAPD_EXTRAS=_ntmsgdll
-POST_SLAPD_EXTRAS=_ntwdog _ntperfdll
-endif
-
-all: $(PRE_SLAPD_EXTRAS) _slapd $(POST_SLAPD_EXTRAS) _backends _plugins _snmp _slapdtools
-
-
-ifeq ($(ARCH), HPUX)
-# slapd depends on liblcoll.sl on HPUX....
-_slapd: _collation_plugin
- cd slapd; $(MAKE) $(MFLAGS) all
-else
-_slapd:
- cd slapd; $(MAKE) $(MFLAGS) all
-endif
-
-_collation_plugin:
- cd plugins/collation; $(MAKE) $(MFLAGS) all
-
-_backends:
- cd slapd/back-ldbm; $(MAKE) $(MFLAGS) all
-# we aren't using back-ldif yet
-# cd slapd/back-ldif; $(MAKE) $(MFLAGS) all
-
-_plugins:
- cd plugins; $(MAKE) $(MFLAGS) all
-
-_snmp:
- cd snmp; $(MAKE) $(MFLAGS) all
-
-_slapdtools:
- cd slapd/tools; $(MAKE) $(MFLAGS) all
-
-ifeq ($(ARCH), WINNT)
-_ntmsgdll:
- cd slapd/ntmsgdll; $(MAKE) $(MFLAGS) all
-
-_ntwdog:
- cd slapd/ntwdog; $(MAKE) $(MFLAGS) all
-
-_ntperfdll:
- cd slapd/ntperfdll; $(MAKE) $(MFLAGS) all
-endif
-
-clean:
- cd slapd; $(MAKE) $(MFLAGS) clean
-ifeq ($(ARCH), WINNT)
- cd slapd/ntmsgdll; $(MAKE) $(MFLAGS) clean
- cd slapd/ntwdog; $(MAKE) $(MFLAGS) clean
- cd slapd/ntperfdll; $(MAKE) $(MFLAGS) clean
-endif
- cd slapd/back-ldbm; $(MAKE) $(MFLAGS) clean
- cd slapd/back-ldif; $(MAKE) $(MFLAGS) clean
- cd plugins; $(MAKE) $(MFLAGS) clean
- cd slapd/tools; $(MAKE) $(MFLAGS) clean
-
diff --git a/ldap/servers/plugins/Makefile b/ldap/servers/plugins/Makefile
deleted file mode 100644
index 1a4afc4b..00000000
--- a/ldap/servers/plugins/Makefile
+++ /dev/null
@@ -1,152 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server and LDAP SDK libraries
-#
-
-BUILD_ROOT = ../../..
-LDAP_SRC = $(BUILD_ROOT)/ldap
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-PLUGINS = _referint _collation _syntaxes _passthru _utils _uiduniq _roles _acl _replication _cos _pwdstorage _rever _chainingdb _distrib _retrocl _statechange _http _views _dna
-ifneq ($(ARCH), WINNT)
-ifneq ($(BRAND), redhat)
-PLUGINS += _pam_passthru
-endif
-endif
-
-all: $(PLUGINS)
-
-_utils:
- cd shared; $(MAKE) $(MFLAGS) all
-_rever:
- cd rever; $(MAKE) $(MFLAGS) all
-
-_chainingdb:
- cd chainingdb; $(MAKE) $(MFLAGS) all
-
-_referint:
- cd referint; $(MAKE) $(MFLAGS) all
-
-_collation:
- cd collation; $(MAKE) $(MFLAGS) all
-
-_syntaxes:
- cd syntaxes; $(MAKE) $(MFLAGS) all
-
-_passthru:
- cd passthru; $(MAKE) $(MFLAGS) all
-
-ifneq ($(ARCH), WINNT)
-_pam_passthru:
- cd pam_passthru; $(MAKE) $(MFLAGS) all
-endif
-
-_uiduniq:
- cd uiduniq; $(MAKE) $(MFLAGS) all
-
-_replication:
- cd replication; $(MAKE) $(MFLAGS) all
-
-_acl:
- cd acl; $(MAKE) $(MFLAGS) all
-
-_pwdstorage:
- cd pwdstorage; $(MAKE) $(MFLAGS) all
-
-_distrib:
- cd distrib; $(MAKE) $(MFLAGS) all
-
-_roles:
- cd roles; $(MAKE) $(MFLAGS) all
-
-_cos:
- cd cos; $(MAKE) $(MFLAGS) all
-
-_statechange:
- cd statechange; $(MAKE) $(MFLAGS) all
-
-_retrocl:
- cd retrocl; $(MAKE) $(MFLAGS) all
-
-_http:
- cd http; $(MAKE) $(MFLAGS) all
-
-# Note: stops building/packaging presence from 7.1
-_presence:
- cd presence; $(MAKE) $(MFLAGS) all
-
-_views:
- cd views; $(MAKE) $(MFLAGS) all
-
-_dna:
- cd dna; $(MAKE) $(MFLAGS) all
-
-clean:
- cd rever; $(MAKE) $(MFLAGS) clean
- cd referint; $(MAKE) $(MFLAGS) clean
- cd collation; $(MAKE) $(MFLAGS) clean
- cd syntaxes; $(MAKE) $(MFLAGS) clean
- cd passthru; $(MAKE) $(MFLAGS) clean
-ifneq ($(ARCH), WINNT)
- cd pam_passthru; $(MAKE) $(MFLAGS) clean
-endif
- cd shared; $(MAKE) $(MFLAGS) clean
- cd uiduniq; $(MAKE) $(MFLAGS) clean
- cd replication; $(MAKE) $(MFLAGS) clean
- cd acl; $(MAKE) $(MFLAGS) clean
- cd cos; $(MAKE) $(MFLAGS) clean
- cd pwdstorage; $(MAKE) $(MFLAGS) clean
- cd roles; $(MAKE) $(MFLAGS) clean
- cd chainingdb; $(MAKE) $(MFLAGS) clean
- cd distrib; $(MAKE) $(MFLAGS) clean
- cd retrocl; $(MAKE) $(MFLAGS) clean
- cd statechange; $(MAKE) $(MFLAGS) clean
- cd http; $(MAKE) $(MFLAGS) clean
- cd views; $(MAKE) $(MFLAGS) clean
- #cd presence; $(MAKE) $(MFLAGS) clean
- cd dna; $(MAKE) $(MFLAGS) clean
-
-veryclean: clean
diff --git a/ldap/servers/plugins/acl/Makefile b/ldap/servers/plugins/acl/Makefile
deleted file mode 100644
index 53204e5e..00000000
--- a/ldap/servers/plugins/acl/Makefile
+++ /dev/null
@@ -1,124 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server acl-plugin.so acl plugins
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libacl
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./libacl.def
-endif
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd -I$(ACLINC)
-
-ACL_OBJS= acl.o acllas.o aclutil.o aclplugin.o aclparse.o acl_ext.o aclproxy.o \
- aclinit.o aclgroup.o aclanom.o acllist.o acleffectiverights.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(ACL_OBJS))
-
-ifeq ($(ARCH), WINNT)
-LIBACL_DLL_OBJ = $(addprefix $(OBJDEST)/, acldllmain.o)
-endif
-
-LIBACL= $(addprefix $(LIBDIR)/, $(ACL_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(NSPRLINK) $(LDAP_LIBAVL) $(LDAP_SDK_LIBLDAP_DLL)
-endif
-
-# ACL plugin depends on libadminutil (through libns-httpd)
-EXTRA_LIBS_DEP += $(NSHTTPD_DEP)
-EXTRA_LIBS += $(DYN_NSHTTPD)
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBACCESS_DEP)
-EXTRA_LIBS += $(LIBACCESS)
-endif
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libacl.def"
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPDLINK) $(NSPRLINK) $(LDAP_LIBAVL) $(LDAP_SDK_LIBLDAP_DLL)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(DYN_NSHTTPD) $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBACL)
-
-$(LIBACL): $(OBJS) $(LIBACL_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBACL_DLL_OBJ) $(PLATFORMLIBS) $(EXTRA_LIBS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBACL_DLL_OBJ)
-endif
- $(RM) $(LIBACL)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/chainingdb/Makefile b/ldap/servers/plugins/chainingdb/Makefile
deleted file mode 100644
index bc1ef7a0..00000000
--- a/ldap/servers/plugins/chainingdb/Makefile
+++ /dev/null
@@ -1,124 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server "Chaining Backend" plugin
-#
-
-LDAP_SRC = ../../..
-
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libcb
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./libcb.def
-endif
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-
-CB_OBJS= cb_temp.o cb_init.o cb_config.o cb_instance.o cb_start.o cb_search.o cb_utils.o cb_add.o cb_delete.o cb_schema.o \
-cb_acl.o cb_modify.o cb_compare.o cb_modrdn.o cb_abandon.o cb_conn_stateless.o cb_bind.o cb_unbind.o cb_monitor.o \
-cb_controls.o cb_size.o cb_test.o cb_close.o cb_cleanup.o cb_debug.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(CB_OBJS))
-
-ifeq ($(ARCH), WINNT)
-LIBCB_DLL_OBJ = $(addprefix $(OBJDEST)/, cbdllmain.o)
-endif
-
-LIBCB= $(addprefix $(LIBDIR)/, $(CB_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAP_LIBUTIL_DEP) $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(SECURITY_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL) $(LDAP_LIBUTIL) $(LDAP_COMMON_LIBS) $(SECURITYLINK) $(NSPRLINK)
-
-endif
-
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libcb.def"
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAP_LIBUTIL_DEP) $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(SECURITY_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL) $(LIBUTIL) $(LDAP_COMMON_LIBS) $(SECURITYLINK) $(NSPRLINK)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBCB)
-
-$(LIBCB): $(OBJS) $(LIBCB_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBCB_DLL_OBJ) $(PLATFORMLIBS) $(EXTRA_LIBS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBCB_DLL_OBJ)
-endif
- $(RM) $(LIBCB)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-#
-# header file dependencies (incomplete)
-#
-$(OBJS): cb.h
diff --git a/ldap/servers/plugins/collation/Makefile b/ldap/servers/plugins/collation/Makefile
deleted file mode 100644
index ab48c047..00000000
--- a/ldap/servers/plugins/collation/Makefile
+++ /dev/null
@@ -1,130 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC= ../../..
-BUILD_ROOT= ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST= $(OBJDIR)/lib/libcollation-plugin
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-INCLUDES+= -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-COLLATION_OBJS= collate.o config.o orfilter.o
-
-ifeq ($(ARCH), WINNT)
-COLLATION_OBJS+= debug.o
-COLLATION_DLL_OBJ=$(addprefix $(OBJDEST)/, dllmain.o)
-DEF_FILE:=./collation.def
-EXTRA_LIBS+= $(NSPRLINK) $(LDAP_SDK_LIBLDAP_DLL) $(LIBSLAPD)
-EXTRA_LIBS_DEP+= $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP+=$(LDAPSDK_DEP)
-endif
-
-# INCLUDES+= -I. -I$(ACLINC) -I$(BUILD_ROOT)/lib
-
-# ICU stuff
-INCLUDES+= $(ICU_INCLUDE)
-EXTRA_LIBS+=$(ICULINK)
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS+= $(LIBSLAPDLINK) $(NSPRLINK) $(LDAPLINK)
-EXTRA_LIBS_DEP+= $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP+=$(LDAPSDK_DEP)
-LD=ld
-endif
-
-OBJS= $(addprefix $(OBJDEST)/, $(COLLATION_OBJS))
-COLLATION= $(addprefix $(LIBDIR)/, $(COLLATION_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(COLLATION)
-ifeq (0, 1)
-# Where the heck did the compiler options come from?
- @echo ARCH=$(ARCH)
- @echo DEBUG=$(DEBUG)
- @echo BUILD_OPT=$(BUILD_OPT)
- @echo CFLAGS=$(CFLAGS)
- @echo " MCC_DEBUG="$(MCC_DEBUG)
- @echo " PLATFORMCFLAGS="$(PLATFORMCFLAGS)
- @echo " ACFLAGS="$(ACFLAGS)
- @echo " EXTRACFLAGS="$(EXTRACFLAGS)
- @echo " UNPROTOCFLAGS="$(UNPROTOCFLAGS)
- @echo " SLCFLAGS="$(SLCFLAGS)
- @echo "ALDFLAGS="$(ALDFLAGS)
- @echo "DLL_LDFLAGS="$(DLL_LDFLAGS)
- @echo "DLL_EXPORT_FLAGS="$(DLL_EXPORT_FLAGS)
-endif
-
-ifeq ($(ARCH), WINNT)
-$(COLLATION): $(OBJS) $(COLLATION_DLL_OBJ) $(EXTRA_LIBS_DEP) $(DEF_FILE)
- $(LINK_DLL) $(COLLATION_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-ifeq ($(ARCH), AIX)
-$(COLLATION): $(OBJS) $(COLLATION_DLL_OBJ) $(EXTRA_LIBS_DEP)
- $(LINK_DLL) $(COLLATION_DLL_OBJ) $(EXTRA_LIBS)
-else
-$(COLLATION): $(OBJS) $(EXTRA_LIBS_DEP)
- $(LINK_DLL) $(EXTRA_LIBS)
-endif
-endif
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(COLLATION_DLL_OBJ)
-endif
- $(RM) $(COLLATION)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/cos/Makefile b/ldap/servers/plugins/cos/Makefile
deleted file mode 100644
index 7653d698..00000000
--- a/ldap/servers/plugins/cos/Makefile
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libcos
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./cos.def
-endif
-
-COS_OBJS = cos.o cos_cache.o
-OBJS = $(addprefix $(OBJDEST)/, $(COS_OBJS))
-
-COS_DLL = libcos-plugin
-
-INCLUDES += -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-COS_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS += $(LIBSLAPDLINK) $(NSPRLINK) $(LDAP_SDK_LIBLDAP_DLL)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-COS= $(addprefix $(LIBDIR)/, $(COS_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(COS)
-
-ifeq ($(ARCH), WINNT)
-$(COS): $(OBJS) $(COS_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(COS_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(COS): $(OBJS) $(COS_DLL_OBJ)
- $(LINK_DLL) $(COS_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(COS_DLL_OBJ)
-endif
- $(RM) $(COS)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/dna/Makefile b/ldap/servers/plugins/dna/Makefile
deleted file mode 100644
index bacc3f0f..00000000
--- a/ldap/servers/plugins/dna/Makefile
+++ /dev/null
@@ -1,115 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2007 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libdna
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./dna.def
-endif
-
-DNA_OBJS = dna.o
-OBJS = $(addprefix $(OBJDEST)/, $(DNA_OBJS))
-
-DNA_DLL = libdna-plugin
-
-INCLUDES += -I../http -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS_DEP += $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-EXTRA_LIBS += $(LDAP_COMMON_LIBS)
-DNA_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS_DEP += $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS += $(LIBSLAPDLINK) $(NSPRLINK) $(LDAP_SDK_LIBLDAP_DLL)
-EXTRA_LIBS += $(LDAP_COMMON_LIBS)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS_DEP += $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-EXTRA_LIBS += $(LDAP_COMMON_LIBS)
-endif
-
-DNA= $(addprefix $(LIBDIR)/, $(DNA_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(DNA)
-
-ifeq ($(ARCH), WINNT)
-$(DNA): $(OBJS) $(DNA_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(DNA_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(DNA): $(OBJS) $(DNA_DLL_OBJ)
- $(LINK_DLL) $(DNA_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(DNA_DLL_OBJ)
-endif
- $(RM) $(DNA)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-$(LIBDIR):
- $(MKDIR) $(LIBDIR)
diff --git a/ldap/servers/plugins/http/Makefile b/ldap/servers/plugins/http/Makefile
deleted file mode 100644
index 654cf421..00000000
--- a/ldap/servers/plugins/http/Makefile
+++ /dev/null
@@ -1,108 +0,0 @@
-# --- BEGIN COPYRIGHT BLOCK ---
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# --- END COPYRIGHT BLOCK ---
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libhttpclient
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./http.def
-endif
-
-HTTP_OBJS = http_client.o http_impl.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(HTTP_OBJS))
-
-HTTP_DLL = libhttp-client-plugin
-
-INCLUDES += -I../../slapd -I../../../include
-
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-CFLAGS+=-D_WIN32 -DXP_WIN -DXP_WIN32
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD) $(SECURITYLINK)
-HTTP_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), AIX)
-LD=ld
-EXTRA_LIBS += $(LIBSLAPD)
-endif
-
-HTTP= $(addprefix $(LIBDIR)/, $(HTTP_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(HTTP)
-
-ifeq ($(ARCH), WINNT)
-$(HTTP): $(OBJS) $(HTTP_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(HTTP_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(HTTP): $(OBJS) $(HTTP_DLL_OBJ)
- $(LINK_DLL) $(HTTP_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(HTTP_DLL_OBJ)
-endif
- $(RM) $(HTTP)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/pam_passthru/Makefile b/ldap/servers/plugins/pam_passthru/Makefile
deleted file mode 100644
index ff846c8a..00000000
--- a/ldap/servers/plugins/pam_passthru/Makefile
+++ /dev/null
@@ -1,124 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server "PAM Pass Through Authentication" plugin
-#
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libpam_passthru
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./libpam_passthru.def
-endif
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-
-PAM_PASSTHRU_OBJS= pam_ptimpl.o pam_ptconfig.o pam_ptdebug.o pam_ptpreop.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(PAM_PASSTHRU_OBJS))
-
-ifeq ($(ARCH), WINNT)
-LIBPAM_PASSTHRU_DLL_OBJ = $(addprefix $(OBJDEST)/, pam_ptdllmain.o)
-endif
-
-LIBPAM_PASSTHRU= $(addprefix $(LIBDIR)/, $(PAM_PASSTHRU_DLL).$(DLL_SUFFIX))
-
-EXTRA_LIBS += -lpam
-#LD += -Xlinker --no-undefined -Xlinker --no-allow-shlib-undefined
-#LD += -Xlinker --export-dynamic
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL) $(NSPRLINK)
-endif
-
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libpam_passthru.def"
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPDLINK) $(LDAP_SDK_LIBLDAP_DLL) $(NSPRLINK)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBPAM_PASSTHRU)
-
-$(LIBPAM_PASSTHRU): $(OBJS) $(LIBPAM_PASSTHRU_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBPAM_PASSTHRU_DLL_OBJ) $(PLATFORMLIBS) $(EXTRA_LIBS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBPAM_PASSTHRU_DLL_OBJ)
-endif
- $(RM) $(LIBPAM_PASSTHRU)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-#
-# header file dependencies (incomplete)
-#
-$(OBJS): pam_passthru.h
diff --git a/ldap/servers/plugins/passthru/Makefile b/ldap/servers/plugins/passthru/Makefile
deleted file mode 100644
index 2ff72a2e..00000000
--- a/ldap/servers/plugins/passthru/Makefile
+++ /dev/null
@@ -1,121 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server "Pass Through Authentication" plugin
-#
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libpassthru
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./libpassthru.def
-endif
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-
-PASSTHRU_OBJS= ptbind.o ptconfig.o ptconn.o ptdebug.o ptpreop.o ptutil.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(PASSTHRU_OBJS))
-
-ifeq ($(ARCH), WINNT)
-LIBPASSTHRU_DLL_OBJ = $(addprefix $(OBJDEST)/, ptdllmain.o)
-endif
-
-LIBPASSTHRU= $(addprefix $(LIBDIR)/, $(PASSTHRU_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL) $(NSPRLINK)
-endif
-
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libpassthru.def"
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPDLINK) $(LDAP_SDK_LIBLDAP_DLL) $(NSPRLINK)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBPASSTHRU)
-
-$(LIBPASSTHRU): $(OBJS) $(LIBPASSTHRU_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBPASSTHRU_DLL_OBJ) $(PLATFORMLIBS) $(EXTRA_LIBS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBPASSTHRU_DLL_OBJ)
-endif
- $(RM) $(LIBPASSTHRU)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-#
-# header file dependencies (incomplete)
-#
-$(OBJS): passthru.h
diff --git a/ldap/servers/plugins/presence/Makefile b/ldap/servers/plugins/presence/Makefile
deleted file mode 100644
index 477e285f..00000000
--- a/ldap/servers/plugins/presence/Makefile
+++ /dev/null
@@ -1,116 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libpresence
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./presence.def
-endif
-
-PRESENCE_OBJS = presence.o
-OBJS = $(addprefix $(OBJDEST)/, $(PRESENCE_OBJS))
-
-PRESENCE_DLL = libpresence-plugin
-
-INCLUDES += -I../http -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS_DEP += $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-EXTRA_LIBS += $(LDAP_COMMON_LIBS)
-PRESENCE_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS_DEP += $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS += $(LIBSLAPDLINK) $(NSPRLINK) $(LDAP_SDK_LIBLDAP_DLL)
-EXTRA_LIBS += $(LDAP_COMMON_LIBS)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS_DEP += $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-EXTRA_LIBS += $(LDAP_COMMON_LIBS)
-endif
-
-PRESENCE= $(addprefix $(LIBDIR)/, $(PRESENCE_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(PRESENCE)
-
-ifeq ($(ARCH), WINNT)
-$(PRESENCE): $(OBJS) $(PRESENCE_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(PRESENCE_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(PRESENCE): $(OBJS) $(PRESENCE_DLL_OBJ)
- $(LINK_DLL) $(PRESENCE_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(PRESENCE_DLL_OBJ)
-endif
- $(RM) $(PRESENCE)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-$(LIBDIR):
- $(MKDIR) $(LIBDIR)
diff --git a/ldap/servers/plugins/pwdstorage/Makefile b/ldap/servers/plugins/pwdstorage/Makefile
deleted file mode 100644
index 4ff2aff7..00000000
--- a/ldap/servers/plugins/pwdstorage/Makefile
+++ /dev/null
@@ -1,150 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server password_storaged-plugin.so password storage scheme plugins
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libpwdstorage
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./libpwdstorage.def
-endif
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-
-PWD_OBJS= \
- pwd_init.o \
- clear_pwd.o \
- ns-mta-md5_pwd.o \
- sha_pwd.o \
- ssha_pwd.o \
- md5c.o \
- md5_pwd.o
-
-ifneq ($(ARCH), WINNT)
-PWD_OBJS += crypt_pwd.o
-endif
-
-
-OBJS = $(addprefix $(OBJDEST)/, $(PWD_OBJS))
-
-ifeq ($(ARCH), WINNT)
-LIBPWD_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-LIBPWD = $(addprefix $(LIBDIR)/, $(PWD_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += \
- $(LIBSLAPD_DEP) \
- $(LDAP_LIBUTIL_DEP) \
- $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS_DEP += \
- $(LDAPSDK_DEP) \
- $(SECURITY_DEP)
-EXTRA_LIBS += \
- $(LIBSLAPD) \
- $(LDAP_SDK_LIBLDAP_DLL) \
- $(LIBUTIL) \
- $(NSPRLINK) \
- $(LDAP_COMMON_LIBS) \
- $(SECURITYLINK)
-endif
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += \
- $(LIBSLAPD_DEP) \
- $(LDAP_LIBUTIL_DEP) \
- $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS_DEP += \
- $(LDAPSDK_DEP) \
- $(SECURITY_DEP)
-EXTRA_LIBS += \
- $(LIBSLAPDLINK) \
- $(LDAP_SDK_LIBLDAP_DLL) \
- $(LIBUTIL) \
- $(NSPRLINK) \
- $(LDAP_COMMON_LIBS) \
- $(SECURITYLINK)
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libpwdstorage.def"
-CFLAGS+= /WX
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-LD=ld
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBPWD)
-
-$(LIBPWD): $(OBJS) $(LIBPWD_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBPWD_DLL_OBJ) $(EXTRA_LIBS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBPWD_DLL_OBJ)
-endif
- $(RM) $(LIBPWD)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/referint/Makefile b/ldap/servers/plugins/referint/Makefile
deleted file mode 100644
index b6de7d15..00000000
--- a/ldap/servers/plugins/referint/Makefile
+++ /dev/null
@@ -1,103 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/referint-plugin
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./referint.def
-endif
-
-REFERINT_OBJS = referint.o
-OBJS = $(addprefix $(OBJDEST)/, $(REFERINT_OBJS))
-
-INCLUDES += -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPLINK_DEP) $(NSPRLINK_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAPLINK) $(NSPRLINK)
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(SECURITY_DEP)
-EXTRA_LIBS += $(SECURITYLINK)
-endif
-
-ifeq ($(ARCH), WINNT)
-REFERINT_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), AIX)
-LD=ld
-endif
-
-REFERINT= $(addprefix $(LIBDIR)/, $(REFERINT_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(REFERINT)
-
-ifeq ($(ARCH), WINNT)
-$(REFERINT): $(OBJS) $(REFERINT_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(REFERINT_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(REFERINT): $(OBJS) $(REFERINT_DLL_OBJ)
- $(LINK_DLL) $(REFERINT_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(REFERINT_DLL_OBJ)
-endif
- $(RM) $(REFERINT)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/replication/Makefile b/ldap/servers/plugins/replication/Makefile
deleted file mode 100644
index a348bed8..00000000
--- a/ldap/servers/plugins/replication/Makefile
+++ /dev/null
@@ -1,191 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server "Replication" plugin
-#
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/replication-plugin
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./replication.def
-endif
-
-CFLAGS += $(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-CFLAGS += /WX
-endif
-
-ifdef TEST_CL5
-CFLAGS += -DTEST_CL5
-endif
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd -I$(DB_INCLUDE)
-
-LOCAL_OBJS= \
- cl5_api.o \
- cl5_clcache.o \
- cl5_config.o \
- cl5_init.o \
- csnpl.o\
- legacy_consumer.o \
- llist.o\
- repl5_agmt.o \
- repl5_agmtlist.o \
- repl5_backoff.o \
- repl5_connection.o \
- repl5_inc_protocol.o \
- repl5_init.o\
- repl5_protocol.o \
- repl5_protocol_util.o \
- repl5_replica.o\
- repl5_replica_config.o\
- repl5_ruv.o\
- repl5_schedule.o \
- repl5_tot_protocol.o \
- repl5_total.o\
- repl5_mtnode_ext.o\
- repl5_plugins.o \
- repl_add.o \
- repl_bind.o \
- repl_compare.o \
- repl_connext.o \
- repl_controls.o \
- repl_delete.o \
- repl_entry.o \
- repl_ext.o \
- repl_extop.o \
- repl_globals.o \
- repl_init.o \
- repl_modify.o \
- repl_modrdn.o \
- repl_monitor.o \
- repl_objset.o \
- repl_opext.o \
- repl_ops.o \
- repl_rootdse.o \
- repl_search.o \
- replutil.o \
- urp.o \
- urp_glue.o \
- urp_tombstone.o \
- repl5_replica_hash.o\
- repl5_replica_dnhash.o\
- repl5_updatedn_list.o\
- windows_inc_protocol.o \
- windows_tot_protocol.o \
- windows_protocol_util.o \
- windows_private.o \
- windows_connection.o
-
-LIBREPLICATION_OBJS = $(addprefix $(OBJDEST)/, $(LOCAL_OBJS))
-
-ifeq ($(ARCH), WINNT)
-REPLICATION_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-LIBREPLICATION= $(addprefix $(LIBDIR)/, $(REPLICATION_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(DB_LIB_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAPLINK) $(DB_LIB)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(DB_LIB_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL) $(DB_LIB)
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./replication.def"
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-# ICU used by Windows Sync code
-INCLUDES+= $(ICU_INCLUDE)
-EXTRA_LIBS+=$(ICULINK)
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBREPLICATION)
-
-$(LIBREPLICATION): $(LIBREPLICATION_OBJS) $(REPLICATION_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBREPLICATION_OBJS) $(REPLICATION_DLL_OBJ) $(PLATFORMLIBS) $(EXTRA_LIBS) $(LDAP_LIBLDIF) $(NSPRLINK)
-
-tests: $(TEST_PROGS)
-
-veryclean: clean
-
-clean:
- $(RM) $(LIBREPLICATION_OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(REPLICATION_DLL_OBJ)
-endif
- $(RM) $(LIBREPLICATION)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-#
-# header file dependencies (incomplete)
-#
-$(LIBREPLICATION_OBJS):
diff --git a/ldap/servers/plugins/retrocl/Makefile b/ldap/servers/plugins/retrocl/Makefile
deleted file mode 100644
index 3dd33d49..00000000
--- a/ldap/servers/plugins/retrocl/Makefile
+++ /dev/null
@@ -1,165 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server "Retrocl" plugin
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/retrocl-plugin
-BINDIR = $(LDAP_SERVER_RELDIR)
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-INCLUDES+=-I$(DB_INCLUDE)
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./retrocl.def
-endif
-
-CFLAGS += $(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-CFLAGS += /WX
-endif
-
-ifdef TEST_CL5
-CFLAGS += -DTEST_CL5
-endif
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd -I$(DB_INCLUDE)
-
-ifeq ($(ARCH), WINNT)
-SUBSYSTEM=console
-endif
-
-LOCAL_OBJS= \
- retrocl.o \
- retrocl_po.o \
- retrocl_rootdse.o \
- retrocl_cn.o \
- retrocl_trim.o \
- retrocl_create.o \
-
-
-
-LIBRETROCL_OBJS = $(addprefix $(OBJDEST)/, $(LOCAL_OBJS))
-
-ifeq ($(ARCH), WINNT)
-RETROCL_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-LIBRETROCL= $(addprefix $(LIBDIR)/, $(RETROCL_DLL).$(DLL_SUFFIX))
-
-LT_OBJS = $(addprefix $(OBJDEST)/, linktest.o)
-
-#EXTRA_LIBS_DEP = $(LDAPSDK_DEP) \
-# $(LDAP_LIBLDIF_DEP) \
-# $(LDAP_SLIBLCACHE_DEP) $(DB_LIB_DEP) $(LIBSLAPD_DEP) \
-# $(LDAP_COMMON_LIBS_DEP)
-
-#EXTRA_LIBS = $(LIBACCESS) $(LDAP_SDK_LIBSSLDAP_LIB) $(ADMINUTIL_LINK) \
-# $(LDAP_SDK_LIBLDAP_DLL) $(LDAP_SLIBLCACHE) $(DB_LIB) \
-# $(PLATFORM_SPECIFIC_EXTRA_LIBRARY) $(LIBSLAPD) $(LDAP_LIBLITEKEY) \
-# $(NLSLINK) $(ALIBS) \
-# $(LDAP_SDK_LIBSSLDAP_LIB) $(LDAP_SDK_LIBLDAP_DLL) \
-# $(LIBSECURITYLINK) $(NSPRLINK) $(DBMLINK) \
-# $(THREADSLIB) $(LDAP_COMMON_LIBS) $(NSPRLINK) $(SVRCORELINK)
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(DB_LIB_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL) $(DB_LIB)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP) $(DB_LIB_DEP) $(NSPR_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL) $(DB_LIB)
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./retrocl.def"
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBRETROCL)
-
-linktest: $(LIBRETROCL) $(LT_OBJS)
- $(LINK_EXE_NOLIBSOBJS) -o linktest $(LT_OBJS) $(LIBRETROCL) -Rlib -Rlib/../bin/slapd/lib -Llib -Llib/../bin/slapd/lib -lslapd $(EXTRA_LIBS) $(NSPRLINK)
-
-
-$(LIBRETROCL): $(LIBRETROCL_OBJS) $(RETROCL_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBRETROCL_OBJS) $(RETROCL_DLL_OBJ) $(PLATFORMLIBS) $(EXTRA_LIBS) $(LDAP_LIBLDIF) $(NSPRLINK)
-
-tests: $(TEST_PROGS)
-
-veryclean: clean
-
-clean:
- $(RM) $(LIBRETROCL_OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(RETROCL_DLL_OBJ)
-endif
- $(RM) $(LIBRETROCL)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-#
-# header file dependencies (incomplete)
-#
-$(LIBRETROCL_OBJS):
diff --git a/ldap/servers/plugins/rever/Makefile b/ldap/servers/plugins/rever/Makefile
deleted file mode 100644
index a271a522..00000000
--- a/ldap/servers/plugins/rever/Makefile
+++ /dev/null
@@ -1,142 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server password_storaged-plugin.so password storage scheme plugins
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libdes
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(BUILD_ROOT)/ns_usepurify.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./libdes.def
-endif
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-INCLUDES += -I$(BUILD_ROOT)/ldap/include
-
-REVER_OBJS= \
- rever.o des.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(REVER_OBJS))
-
-ifeq ($(ARCH), WINNT)
-LIBREVER_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-REVER_DLL = libdes-plugin
-LIBREVER = $(addprefix $(LIBDIR)/, $(REVER_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += \
- $(LIBSLAPD_DEP) \
- $(LDAP_LIBUTIL_DEP) \
- $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS_DEP += \
- $(LDAPSDK_DEP) \
- $(SECURITY_DEP)
-EXTRA_LIBS += \
- $(LIBSLAPD) \
- $(LDAP_SDK_LIBLDAP_DLL) \
- $(LIBUTIL) \
- $(NSPRLINK) \
- $(LDAP_COMMON_LIBS) \
- $(SECURITYLINK)
-endif
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += \
- $(LIBSLAPD_DEP) \
- $(LDAP_LIBUTIL_DEP) \
- $(LDAP_COMMON_LIBS_DEP)
-EXTRA_LIBS_DEP += \
- $(LDAPSDK_DEP) \
- $(SECURITY_DEP)
-EXTRA_LIBS += \
- $(LIBSLAPDLINK) \
- $(LDAP_SDK_LIBLDAP_DLL) \
- $(LIBUTIL) \
- $(NSPRLINK) \
- $(LDAP_COMMON_LIBS) \
- $(SECURITYLINK)
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libdes.def"
-CFLAGS+= /WX
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-LD=ld
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBREVER)
-
-$(LIBREVER): $(OBJS) $(LIBREVER_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBREVER_DLL_OBJ) $(EXTRA_LIBS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBREVER_DLL_OBJ)
-endif
- $(RM) $(LIBREVER)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/roles/Makefile b/ldap/servers/plugins/roles/Makefile
deleted file mode 100644
index 47cc2d39..00000000
--- a/ldap/servers/plugins/roles/Makefile
+++ /dev/null
@@ -1,123 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libroles
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-ifndef INSTDIR
-INSTDIR = c:/netscape/server4/
-endif
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./roles.def
-endif
-
-ROLES_OBJS = roles_plugin.o roles_cache.o
-OBJS = $(addprefix $(OBJDEST)/, $(ROLES_OBJS))
-
-ROLES_DLL = libroles-plugin
-
-INCLUDES += -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-# DBDB this is clearly all nonsense: the libraries this thing links with should not depend on the platform.
-# However, for now I make this AIX-specific change and leave the NT-specifc stuff in place (I think it came
-# from the makefile I copied to make this one. After build 3, fix this.
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD)
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD) $(LDAP_LIBAVL)
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), WINNT)
-ROLES_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), AIX)
-LD=ld
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD) $(LDAP_LIBAVL)
-endif
-
-ROLES= $(addprefix $(LIBDIR)/, $(ROLES_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(ROLES)
-
-ifeq ($(ARCH), WINNT)
-$(ROLES): $(OBJS) $(ROLES_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(ROLES_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(ROLES): $(OBJS) $(ROLES_DLL_OBJ)
- $(LINK_DLL) $(ROLES_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(ROLES_DLL_OBJ)
-endif
- $(RM) $(ROLES)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-# Target to push the built binary to an installed server
-#ROLES_PUSH = $(addprefix $(INSTDIR)lib/, $(notdir $(ROLES)))
-#push: $(ROLES_PUSH)
-
-#$(ROLES_PUSH): $(ROLES)
-# cp $(ROLES) $(ROLES_PUSH)
diff --git a/ldap/servers/plugins/shared/Makefile b/ldap/servers/plugins/shared/Makefile
deleted file mode 100644
index 17c28cba..00000000
--- a/ldap/servers/plugins/shared/Makefile
+++ /dev/null
@@ -1,87 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for shared components for Directory Server plugins
-#
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-SHARED=shared
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/$(SHARED)
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-
-LOCAL_OBJS= utils.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(LOCAL_OBJS))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS += $(LIBSLAPD)
-endif
-
-all: $(OBJDEST) $(OBJS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-#
-# header file dependencies (incomplete)
-#
-$(OBJS): plugin-utils.h
-
diff --git a/ldap/servers/plugins/statechange/Makefile b/ldap/servers/plugins/statechange/Makefile
deleted file mode 100644
index 4ef63a95..00000000
--- a/ldap/servers/plugins/statechange/Makefile
+++ /dev/null
@@ -1,106 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libstatechange
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./statechange.def
-endif
-
-STATECHANGE_OBJS = statechange.o
-OBJS = $(addprefix $(OBJDEST)/, $(STATECHANGE_OBJS))
-
-STATECHANGE_DLL = libstatechange-plugin
-
-INCLUDES += -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD)
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD)
-STATECHANGE_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), AIX)
-LD=ld
-EXTRA_LIBS += $(LIBSLAPD)
-endif
-
-STATECHANGE= $(addprefix $(LIBDIR)/, $(STATECHANGE_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(STATECHANGE)
-
-ifeq ($(ARCH), WINNT)
-$(STATECHANGE): $(OBJS) $(STATECHANGE_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(STATECHANGE_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(STATECHANGE): $(OBJS) $(STATECHANGE_DLL_OBJ)
- $(LINK_DLL) $(STATECHANGE_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(STATECHANGE_DLL_OBJ)
-endif
- $(RM) $(STATECHANGE)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/syntaxes/Makefile b/ldap/servers/plugins/syntaxes/Makefile
deleted file mode 100644
index 507d8f35..00000000
--- a/ldap/servers/plugins/syntaxes/Makefile
+++ /dev/null
@@ -1,118 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server syntax-plugin.so syntax plugins
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libsyntax
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./libsyntax.def
-endif
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-
-SYNTAX_OBJS= phonetic.o string.o cis.o sicis.o ces.o bin.o tel.o dn.o int.o \
- value.o debug.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(SYNTAX_OBJS))
-
-ifeq ($(ARCH), WINNT)
-LIBSYNTAX_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-LIBSYNTAX= $(addprefix $(LIBDIR)/, $(SYNTAX_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAP_LIBUTIL_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-endif
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAP_LIBUTIL_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-endif
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libsyntax.def"
-CFLAGS+= /WX
-endif # WINNT
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBSYNTAX)
-
-$(LIBSYNTAX): $(OBJS) $(LIBSYNTAX_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(LIBSYNTAX_DLL_OBJ) $(EXTRA_LIBS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBSYNTAX_DLL_OBJ)
-endif
- $(RM) $(LIBSYNTAX)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/plugins/uiduniq/Makefile b/ldap/servers/plugins/uiduniq/Makefile
deleted file mode 100644
index a64a40d9..00000000
--- a/ldap/servers/plugins/uiduniq/Makefile
+++ /dev/null
@@ -1,131 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server "Pass Through Authentication" plugin
-#
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libuidunique
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-SHAREDLIB = $(OBJDIR)/lib/shared/utils.o
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./libuiduniq.def
-endif
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd -I../shared
-
-LOCAL_OBJS= uid.o 7bit.o
-
-SHAREDDIR= ../shared
-
-OBJS = $(addprefix $(OBJDEST)/, $(LOCAL_OBJS))
-
-ifeq ($(ARCH), WINNT)
-#LIBUIDUNIQUE_DLL_OBJ = $(addprefix $(OBJDEST)/, uid.o 7bit.o)
-endif
-
-LIBUIDUNIQUE= $(addprefix $(LIBDIR)/, $(UID_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-endif
-
-
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libuiduniq.def"
-EXTRA_LIBS += $(NSPRLINK)
-endif # WINNT
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP)
-EXTRA_LIBS_DEP += $(LDAPSDK_DEP)
-EXTRA_LIBS += $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-EXTRA_LIBS += $(SHAREDLIB)
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LIBUIDUNIQUE)
-
-$(LIBUIDUNIQUE): $(OBJS) $(LIBUIDUNIQUE_DLL_OBJ) $(DEF_FILE)
-# $(LINK_DLL) $(LIBUIDUNIQUE_DLL_OBJ) $(PLATFORMLIBS) $(EXTRA_LIBS)
- $(LINK_DLL) $(PLATFORMLIBS) $(EXTRA_LIBS)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBUIDUNIQUE_DLL_OBJ)
-endif
- $(RM) $(LIBUIDUNIQUE)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-#
-# header file dependencies (incomplete)
-#
-$(OBJS): $(LDAP_SRC)/servers/slapd/slapi-plugin.h \
- ../shared/plugin-utils.h
-
diff --git a/ldap/servers/plugins/vattrsp_template/Makefile b/ldap/servers/plugins/vattrsp_template/Makefile
deleted file mode 100644
index 9ed7c0c7..00000000
--- a/ldap/servers/plugins/vattrsp_template/Makefile
+++ /dev/null
@@ -1,110 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libvattrsp
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./vattrsp.def
-endif
-
-VATTRSP_OBJS = vattrsp.o
-OBJS = $(addprefix $(OBJDEST)/, $(VATTRSP_OBJS))
-
-VATTRSP_DLL = libvattrsp-plugin
-
-INCLUDES += -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-VATTRSP_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS += $(LIBSLAPDLINK) $(NSPRLINK) $(LDAP_SDK_LIBLDAP_DLL)
-LD=ld
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-VATTRSP= $(addprefix $(LIBDIR)/, $(VATTRSP_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(VATTRSP)
-
-ifeq ($(ARCH), WINNT)
-$(VATTRSP): $(OBJS) $(VATTRSP_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(VATTRSP_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(VATTRSP): $(OBJS) $(VATTRSP_DLL_OBJ)
- $(LINK_DLL) $(VATTRSP_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(VATTRSP_DLL_OBJ)
-endif
- $(RM) $(VATTRSP)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-$(LIBDIR):
- $(MKDIR) $(LIBDIR)
diff --git a/ldap/servers/plugins/views/Makefile b/ldap/servers/plugins/views/Makefile
deleted file mode 100644
index 521b6f14..00000000
--- a/ldap/servers/plugins/views/Makefile
+++ /dev/null
@@ -1,107 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libviews
-LIBDIR = $(LDAP_PLUGIN_RELDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-DEF_FILE:=./views.def
-endif
-
-VIEWS_OBJS = views.o
-OBJS = $(addprefix $(OBJDEST)/, $(VIEWS_OBJS))
-
-VIEWS_DLL = libviews-plugin
-
-INCLUDES += -I../../slapd -I../../../include
-CFLAGS+=$(SLCFLAGS) -DSLAPD_LOGGING
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS += $(NSPRLINK) $(LIBSLAPD) $(LDAP_SDK_LIBLDAP_DLL)
-VIEWS_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += $(LIBSLAPD_DEP) $(LDAPSDK_DEP) $(NSPR_DEP) $(SECURITY_DEP)
-EXTRA_LIBS += $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) $(ICULINK)
-endif
-
-ifeq ($(ARCH), AIX)
-LD=ld
-EXTRA_LIBS_DEP += $(LIBSLAPD) $(NSPR_DEP) $(LDAPSDK_DEP)
-EXTRA_LIBS += $(LIBSLAPDLINK) $(NSPRLINK) $(LDAP_SDK_LIBLDAP_DLL)
-endif
-
-VIEWS= $(addprefix $(LIBDIR)/, $(VIEWS_DLL).$(DLL_SUFFIX))
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(VIEWS)
-
-ifeq ($(ARCH), WINNT)
-$(VIEWS): $(OBJS) $(VIEWS_DLL_OBJ) $(DEF_FILE)
- $(LINK_DLL) $(VIEWS_DLL_OBJ) $(EXTRA_LIBS) /DEF:$(DEF_FILE)
-else
-$(VIEWS): $(OBJS) $(VIEWS_DLL_OBJ)
- $(LINK_DLL) $(VIEWS_DLL_OBJ) $(EXTRA_LIBS)
-endif
-
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(VIEWS_DLL_OBJ)
-endif
- $(RM) $(VIEWS)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
diff --git a/ldap/servers/slapd/Makefile b/ldap/servers/slapd/Makefile
deleted file mode 100644
index 526350f4..00000000
--- a/ldap/servers/slapd/Makefile
+++ /dev/null
@@ -1,298 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server
-#
-
-LDAP_SRC = ../..
-BUILD_ROOT = ../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/servers/obj
-BINDIR = $(LDAP_SERVER_RELDIR)
-ifndef INSTDIR
-INSTDIR = /opt/servers/
-endif
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-include $(BUILD_ROOT)/ns_usepurify.mk
-include $(BUILD_ROOT)/ns_usequantify.mk
-include $(LDAP_SRC)/nsdeps.mk
-
-
-ifdef HEAPAGENT
-CFLAGS+=-DPURIFYING
-LDAP_DONT_USE_SMARTHEAP=1
-endif
-
-ifdef USE_PURIFY
-CFLAGS+=-DPURIFYING
-LDAP_DONT_USE_SMARTHEAP=1
-endif
-
-ifdef USE_QUANTIFY
-CFLAGS+=-DQUANTIFYING
-LDAP_DONT_USE_SMARTHEAP=1
-endif
-
-ifndef LDAP_DONT_USE_SMARTHEAP
-include $(BUILD_ROOT)/ns_usesh.mk
-INCLUDES+=-I$(SH_INCLUDE)
-else
-CFLAGS+=-DLDAP_DONT_USE_SMARTHEAP
-endif
-
-ifndef LDAP_USE_OLD_DB
-_ldap_db_depend:=$(DB_LIB_DEP)
-INCLUDES+=-I$(DB_INCLUDE)
-endif
-
-INCLUDES += -I. -I$(ACLINC) -I$(BUILD_ROOT)/lib
-
-#ICONS = $(addprefix $(LDAP_SRC)/servers/slapd/ntwdog/, logo.ico key.ico)
-
-REGULAR_SLAPD_OBJS= abandon.o bind.o \
- compare.o config.o connection.o daemon.o sasl_io.o \
- detach.o globals.o house.o init.o \
- monitor.o saslbind.o search.o strdup.o tempnam.o \
- unbind.o extendop.o rootdse.o \
- configdse.o pw_mgmt.o auth.o \
- psearch.o conntable.o \
- stubs.o protect_db.o fileio.o lite_entries.o \
- getopt_ext.o start_tls_extop.o passwd_extop.o
-FEDSE_OBJ= fedse.o
-FEDSE_SRC= fedse.c
-SLAPD_OBJS= $(REGULAR_SLAPD_OBJS) $(FEDSE_OBJ)
-
-
-ifneq ($(ARCH), WINNT)
-SLAPD_OBJS += main.o
-endif
-
-ifeq ($(ARCH), WINNT)
-LDAP_COMMON_EXTRALIBSLIST=libsi18n
-LDAP_COMMON_EXTRALIBS = $(addsuffix .$(LIB_SUFFIX), \
- $(addprefix $(LDAP_LIBDIR)/, $(LDAP_COMMON_EXTRALIBSLIST)))
-
-EXTRA_LIBS_DEP = \
- $(LDAP_SDK_LIBLDAP_DLL_DEP) \
- $(LDAP_SDK_LIBSSLDAP_LIB_DEP) $(LIBLDAPU_DEP) \
- $(_ldap_db_depend) $(LDAP_COMMON_EXTRALIBS)
-
-EXTRA_LIBS += $(LIBSLAPD) $(LIBLDAPU) $(SVRCORELINK)\
- $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) \
- $(LDAP_COMMON_EXTRALIBS)
-
-# JCM - Warnings as Errors
-CFLAGS += /WX
-else
-LDFLAGS = $(SSLLIBFLAG)
-EXTRA_LIBS_DEP = $(SECURITY_DEP) $(NSPR_DEP) \
- $(LDAP_LIBLDBM_DEP) $(LDAP_LIBAVL_DEP) $(LDAP_LIBLDIF_DEP) \
- $(LDAPSDK_DEP) $(LIBLDAPU_DEP) \
- $(_ldap_db_depend) \
- $(SVRCORE_DEP)
-
-
-#IRIX linker needs LIBSEC first, couldn't find away that would make both IRIX and
-# solaris happy, hence the ifeq
-ifeq ($(ARCH), IRIX)
-# -llitekey is added; but it looks to me these two EXTRA_LIBS are identical...
-EXTRA_LIBS = $(LIBSLAPD) \
- $(LIBLDAPU) $(LDAPLINK) \
- $(SECURITYLINK) $(NSPRLINK) $(LDAP_LIBLDBM) \
- $(DBMLINK) -lavl -lldif -llitekey \
- $(ALIBS) $(DYNALIBS) $(THREADSLIB) $(SVRCORELINK)
-else
-EXTRA_LIBS = $(LIBSLAPD) \
- $(LIBLDAPU) $(SECURITYLINK) $(LDAPLINK) \
- $(NSPRLINK) $(LDAP_LIBLDBM) \
- $(DBMLINK) -lavl -lldif -llitekey \
- $(ALIBS) $(DYNALIBS) $(THREADSLIB) \
- $(SVRCORELINK)
-endif
-
-endif
-
-EXTRA_LIBS_DEP+=$(LIBSLAPD_DEP)
-
-EXTRA_LIBS += $(SASL_LINK)
-
-ifeq ($(ARCH), Linux)
-EXTRA_LIBS += -lcrypt -lpthread
-endif
-
-# In order for debugging to work properly with shared libraries on HP/UX,
-# we need to link with end.o.
-ifeq ($(ARCH), HPUX)
- # need to add arch flags :maybe
- LDFLAGS+=$(ARCH_CFLAGS)
- # HPUX linker voodoo
- ifeq ($(DEBUG), full)
- ifeq ($(USE_64), 1)
- EXTRA_LIBS_TEMP:=$(EXTRA_LIBS)
- ifneq ($(NSOS_TEST1), ia64)
- EXTRA_LIBS += /opt/langtools/lib/pa20_64/end.o
- endif
- else
- EXTRA_LIBS_TEMP:=$(EXTRA_LIBS)
- ifneq ($(NSOS_TEST1), ia64)
- EXTRA_LIBS += /opt/langtools/lib/end.o
- endif
- endif #USE_64
- endif #DEBUG
- # Always put libpthread at the beginning of the library list, otherwise NSPR gets upset (very)
- EXTRA_LIBS_TEMP:=$(EXTRA_LIBS)
- EXTRA_LIBS =-lpthread $(EXTRA_LIBS_TEMP)
-endif #HPUX
-
-#Put SmartHeap at the beginning of the linker library list
-EXTRA_LIBS_TEMP:=$(EXTRA_LIBS)
-EXTRA_LIBS=$(SH_LIB) $(EXTRA_LIBS_TEMP)
-
-ifeq ($(ARCH), SOLARIS)
-ifeq ($(USE_64), 1)
-LDFLAGS+= -xarch=v9
-endif
-endif
-
-ifeq ($(ARCH), SOLARIS)
- SH_LIB = -lmtmalloc
-endif
-
-ifeq ($(ARCH), SOLARISx86)
- SH_LIB= -lmtmalloc
-endif
-
-OBJS = $(addprefix $(OBJDEST)/, $(SLAPD_OBJS))
-
-STUB_OBJS = $(addprefix $(OBJDEST)/, stubrepl.o)
-
-ifeq ($(ARCH), WINNT)
-MAIN_OBJ = $(addprefix $(OBJDEST)/, main.o)
-SLAPD_RES = $(addprefix $(SVRCORE_LIBPATH)/, ntsvrcore.res)
-EXTRA_OBJS = $(MAIN_OBJ) $(SLAPD_RES)
-SUBSYSTEM=console
-endif
-
-ifeq ($(ARCH), WINNT)
-SLAPD = $(addprefix $(BINDIR)/, slapd.exe)
-else
-ifdef USE_PURIFY
-SLAPD = $(addprefix $(BINDIR)/, ns-slapd.pure)
-else
-ifdef USE_QUANTIFY
-SLAPD = $(addprefix $(BINDIR)/, ns-slapd.quantify)
-else
-SLAPD = $(addprefix $(BINDIR)/, ns-slapd)
-endif
-endif
-endif
-
-ifeq ($(ARCH), AIX)
-ifdef OLD_AIX_LINKING
- CCC = svxlC_r
-endif
-
-#LDFLAGS += -bloadmap:$(BINDIR)/loadmap_slapd
-# setup the bmaxdata flag to use 5 segments (1.25 GB).
-# This is a trade-off that allows dbcachesize to be up to about 1GB.
-LDFLAGS += -bmaxdata:0x50000000
-EXTRA_LIBS += -L$(OBJDIR) $(EXE_EXTRA_LIBS)
-LINK_EXE = $(CCC) -bautoexp -brtl $(ALDFLAGS) $(LDFLAGS) \
- $(RPATHFLAG_PREFIX)$(RPATHFLAG)$(RPATHFLAG_EXTRAS) \
- -o $@ $(OBJS) $(EXTRA_LIBS)
-endif
-
-#ifeq ($(ARCH),OSF1)
-#LINK_EXE = $(CXX) $(ALDFLAGS) $(LDFLAGS) \
-# $(RPATHFLAG_PREFIX)$(RPATHFLAG)$(RPATHFLAG_EXTRAS) \
-# -o $@ $(OBJS) $(EXTRA_LIBS)
-#endif # OSF1
-
-# Special rule to compile a large source file on Win32:
-# Use the /Zm option to increase internal compiler heap size.
-ifeq ($(ARCH), WINNT)
-$(OBJDEST)/$(FEDSE_OBJ): $(FEDSE_SRC)
- $(CC) -c /Zm250 $(CFLAGS) $(MCC_INCLUDE) $< -Fo$(OBJDEST)/$(FEDSE_OBJ) $(CBSCFLAGS)
-endif
-
-all: $(OBJDEST) $(BINDIR) $(BUILD_DEP) libslapd $(SLAPD) $(STUB_OBJS)
-
-static: $(OBJDEST) $(LIBSLAPD)
-
-clientSDK: static
-
-.PHONY: libslapd push
-
-libslapd $(LIBSLAPD_DEP):
- $(MAKE) -f libmakefile $(MFLAGS) all
-
-#$(SLAPD_RES): $(LDAP_SRC)/libraries/libutil/ntslapd.rc \
-# $(DIRVER_H)
-# $(RSC) -fo $(SLAPD_RES) -i. -i $(OBJDIR)/include $<
-
-$(SLAPD): $(SH_LIB_DEP) $(OBJS) $(MAIN_OBJ) $(SLAPD_RES) $(EXTRA_LIBS_DEP)
- $(QUANTIFY) $(PURIFY) $(PUREOPTS) $(LINK_EXE) $(EXTRA_OBJS) $(DB_LIB)
-
-veryclean: clean
-
-clean:
- -$(RM) $(OBJS)
- -$(RM) $(STUB_OBJS)
-ifeq ($(ARCH), WINNT)
- -$(RM) $(MAIN_OBJ)
-# -$(RM) $(SLAPD_RES)
-endif
- -$(RM) $(SLAPD)
- $(MAKE) -f libmakefile clean
-
-# Target to push the built binary to an installed server
-SLAPD_PUSH = $(addprefix $(INSTDIR)/, bin/slapd/server/slapd.exe)
-push: $(SLAPD_PUSH)
- $(MAKE) -f libmakefile $(MFLAGS) push
-
-$(SLAPD_PUSH): $(SLAPD)
- cp $(SLAPD) $(SLAPD_PUSH)
-
diff --git a/ldap/servers/slapd/back-ldbm/Makefile b/ldap/servers/slapd/back-ldbm/Makefile
deleted file mode 100644
index fa8e4927..00000000
--- a/ldap/servers/slapd/back-ldbm/Makefile
+++ /dev/null
@@ -1,222 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server libback-ldbm
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libback-ldbm
-
-ifndef INSTDIR
-INSTDIR = /netscape/server4/
-endif
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-ifndef LDAP_USE_OLD_DB
-INCLUDES+=-I$(DB_INCLUDE)
-else
-CFLAGS+=-DLDAP_USE_DB185
-endif
-include $(LDAP_SRC)/nsdeps.mk
-
-CFLAGS+=$(SLCFLAGS)
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-
-LIBBACK_LDBM_OBJS= idl.o idl_shim.o idl_new.o idl_common.o cache.o dn2entry.o \
- id2entry.o index.o haschildren.o nextid.o init.o \
- filterindex.o close.o backentry.o monitor.o seq.o start.o \
- rmdb.o ldif2ldbm.o dblayer.o findentry.o archive.o \
- sort.o dbsize.o dbtest.o vlv.o vlv_key.o \
- vlv_srch.o matchrule.o entrystore.o parents.o misc.o \
- upgrade.o dbversion.o cleanup.o uniqueid2entry.o \
- perfctrs.o instance.o import-threads.o import.o import-merge.o \
- ldbm_config.o ldbm_instance_config.o ldbm_index_config.o ldbm_attrcrypt_config.o \
- ldbm_attr.o \
- ldbm_abandon.o \
- ldbm_compare.o \
- ldbm_add.o \
- ldbm_search.o \
- ldbm_modify.o \
- ldbm_modrdn.o \
- ldbm_delete.o \
- ldbm_bind.o \
- ldbm_unbind.o \
- ancestorid.o \
- ldbm_attrcrypt.o \
- dbhelp.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(LIBBACK_LDBM_OBJS))
-
-ifeq ($(ARCH), WINNT)
-LIBBACK_LDBM_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-LIBBACK_LDBM= $(addprefix $(LDAP_LIBBACK_LDBM_DLLDIR)/, $(LIBBACK_LDBM_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += \
- $(LDAPSDK_DEP) \
- $(LDAP_LIBLDIF_DEP) \
- $(LDAP_LIBAVL_DEP)
-EXTRA_LIBS += \
- $(NSPRLINK) \
- $(LDAP_SDK_LIBLDAP_DLL) \
- $(LDAP_LIBLDIF) \
- $(LDAP_LIBAVL)
-CFLAGS+= /WX
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS_DEP += \
- $(LDAP_SDK_LIBLDAP_DLL_DEP) \
- $(LDAP_LIBLDIF_DEP) \
- $(LDAP_LIBAVL_DEP)
-EXTRA_LIBS += \
- $(NSPRLINK) \
- $(LDAP_SDK_LIBLDAP_DLL) \
- $(LDAP_LIBLDIF) \
- $(LDAP_LIBAVL) \
- $(DLL_EXTRA_LIBS)
-LD=ld
-endif
-
-ifeq ($(ARCH), SOLARIS)
-EXTRA_LIBS_DEP += \
- $(LDAPSDK_DEP) \
- $(LDAP_LIBLDIF_DEP) \
- $(LDAP_LIBAVL_DEP)
-EXTRA_LIBS += \
- $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) \
- $(LDAP_LIBLDIF) \
- $(LDAP_LIBAVL) \
- $(DLL_EXTRA_LIBS) -lc
-# All the dependent libraries may not be linked with. (e.g., Cyrus SASL)
-# LINK_DLL += -z defs
-endif
-
-ifeq ($(ARCH), HPUX)
-EXTRA_LIBS_DEP += \
- $(LDAPSDK_DEP) \
- $(LDAP_LIBLDIF_DEP) \
- $(LDAP_LIBAVL_DEP)
-EXTRA_LIBS += \
- $(LDAPLINK) $(SECURITYLINK) $(NSPRLINK) \
- $(LDAP_LIBLDIF) \
- $(LDAP_LIBAVL) \
- $(DLL_EXTRA_LIBS) -lc
-endif
-
-ifeq ($(ARCH), WINNT)
-DLL_LDFLAGS += -def:"./libback-ldbm.def"
-IMPLIB= /IMPLIB:$(LDAP_LIBBACK_LDBM_LIBDIR)/$(LIBBACK_LDBM_DLL).lib
-MAPFILE= /MAP:$(LDAP_LIBBACK_LDBM_LIBDIR)/$(LIBBACK_LDBM_DLL).map
-endif # WINNT
-
-ifeq ($(ARCH), UnixWare)
-EXTRA_LIBS_DEP += $(LDAP_LIBAVL_DEP)
-EXTRA_LIBS += $(LDAP_LIBAVL)
-endif # UnixWare
-
-ifeq ($(ARCH), Linux)
-EXTRA_LIBS_DEP += $(LDAP_LIBLDBM_DEP) $(LDAP_LIBAVL_DEP) $(LDAP_LIBLDIF_DEP)
-EXTRA_LIBS += $(LDAP_LIBLDBM) $(LDAP_LIBAVL) $(LDAP_LIBLDIF)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-endif # Linux
-
-EXTRA_LIBS_DEP += $(DB_LIB_DEP)
-
-clientSDK:
-
-all: $(OBJDEST) $(LDAP_LIBBACK_LDBM_LIBDIR) $(LDAP_LIBBACK_LDBM_DLLDIR) \
- $(BUILD_DEP) $(LIBBACK_LDBM)
-ifeq ($(ARCH), WINNT)
- cd ntdbperfdll; $(MAKE) $(MFLAGS) all
-endif
-
-dummy:
- -@echo LDAP_LIBDIR = $(LDAP_LIB_RELDIR)
- -@echo LDAP_LIBBACK_LDBM_LIBDIR = $(LDAP_LIBBACK_LDBM_LIBDIR)
- -@echo LIB_RELDIR = $(LIB_RELDIR)
- -@echo LDAP_LIBBACK_LDBM_DLLDIR = $(LDAP_LIBBACK_LDBM_DLLDIR)
- -@echo LDAP_LIBBACK_LDBM = $(LDAP_LIBBACK_LDBM)
- -@echo LIBBACK_LDBM = $(LIBBACK_LDBM)
- abort
-
-$(LIBBACK_LDBM): $(OBJS) $(LIBBACK_LDBM_DLL_OBJ) $(EXTRA_LIBS_DEP) $(LIBSLAPD_DEP)
- $(LINK_DLL) $(IMPLIB) $(MAPFILE) $(LIBBACK_LDBM_DLL_OBJ) $(EXTRA_LIBS) $(DB_LIB) $(LIBSLAPD)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(LIBBACK_LDBM_DLL_OBJ)
-endif
- $(RM) $(LIBBACK_LDBM)
-
-$(OBJDEST) $(LIBBACK_LDBM_LIBDIR):
- $(MKDIR) $@
-
-ifeq ($(ARCH), AIX)
-ifeq ($(DEBUG), optimize)
-
-# For some reason compiling ldif2ldbm.c with the -O flag on AIX causes
-# the new import code to hang. For now we will avoid the -O flag.
-
-TEMP_CFLAGS = $(subst -O,,$(CFLAGS))
-
-$(OBJDEST)/ldif2ldbm.o: ldif2ldbm.c
- $(CC) -o $(OBJDEST)/ldif2ldbm.o -c $(TEMP_CFLAGS) $(MCC_INCLUDE) ldif2ldbm.c
-endif
-endif
-
-# Target to push the built binary to an installed server
-LDBM_PUSH = $(addprefix $(INSTDIR)/, lib/libback-ldbm.dll)
-push: $(LDBM_PUSH)
-
-$(LDBM_PUSH): $(LIBBACK_LDBM)
- cp $(LIBBACK_LDBM) $(LDBM_PUSH)
-
diff --git a/ldap/servers/slapd/back-ldbm/tools/index_dump/Makefile b/ldap/servers/slapd/back-ldbm/tools/index_dump/Makefile
deleted file mode 100644
index 20d3e245..00000000
--- a/ldap/servers/slapd/back-ldbm/tools/index_dump/Makefile
+++ /dev/null
@@ -1,72 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server libback-ldbm
-#
-
-LDAP_SRC = ../../../../..
-BUILD_ROOT = ../../../../../..
-
-OBJDEST = $(OBJDIR)/lib/libback-ldbm
-LIBDIR = $(LDAP_LIBDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-include $(BUILD_ROOT)/ns_usedb.mk
-
-INCLUDES += -I$(LDAP_SRC)/servers/slapd
-
-INDEX_DUMP_OBJS= index_dump.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(INDEX_DUMP_OBJS))
-
-all: $(OBJDEST) $(LIBDIR) $(SLIBBACK_LDBM) $(LIBBACK_LDBM)
-
-veryclean: clean
-
-clean:
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-$(BINDIR):
- $(MKDIR) $(LIBDIR)
-
diff --git a/ldap/servers/slapd/back-ldif/Makefile b/ldap/servers/slapd/back-ldif/Makefile
deleted file mode 100644
index 6b616bc6..00000000
--- a/ldap/servers/slapd/back-ldif/Makefile
+++ /dev/null
@@ -1,112 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for LDAP Back-ldif backend
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libback-ldif
-LIBDIR = $(LDAP_LIBDIR)
-SERVER_OBJDEST = $(OBJDIR)/servers/obj
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-BACKLDIF_OBJS = close.o delete.o modrdn.o unbind.o add.o \
- compare.o init.o search.o bind.o config.o modify.o monitor.o \
- start.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(BACKLDIF_OBJS))
-
-SERVER_OBJS= ch_malloc.o entry.o result.o modutil.o
-
-EXTRA_OBJS = $(addprefix $(SERVER_OBJDEST)/, $(SERVER_OBJS))
-
-INCLUDES += -I..
-
-ifeq ($(ARCH), WINNT)
-BACKLDIF_DLL_OBJ = $(addprefix $(OBJDEST)/, dllmain.o)
-endif
-
-LDAP_BACKLDIF= $(addprefix $(LIBDIR)/, $(LIBBACK_LDIF_DLL).$(DLL_SUFFIX))
-
-ifeq ($(ARCH), WINNT)
-EXTRA_LIBS_DEP += $(LIBSECURITY) $(LIBNSPR) \
- $(LDAP_COMMON_LIBS_DEP) $(LDAP_SDK_LIBS_DEP) \
- $(LIBSLAPD_DEP) $(LIBLDAPU_DEP)
-
-EXTRA_LIBS += $(LIBSECURITY) $(LIBNSPR) \
- $(LDAP_COMMON_LIBS) $(LDAP_SDK_LIBS) \
- $(LIBSLAPD) $(THREADSLIB) $(LIBLDAPU)
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS += $(DLL_EXTRA_LIBS)
-endif
-
-clientSDK:
-
-all: $(OBJDEST) $(LIBDIR) $(LDAP_BACKLDIF)
-
-$(LIBDIR):
- $(MKDIR) $(LIBDIR)
-
-$(LDAP_BACKLDIF): $(OBJS) $(BACKLDIF_DLL_OBJ)
- $(LINK_DLL) $(BACKLDIF_DLL_OBJ) $(EXTRA_LIBS)
-
-$(SERVER_OBJDEST)/ch_malloc.o: ../ch_malloc.c
- $(CC) -c $(CFLAGS) $(MCC_INCLUDE) $< $(OFFLAG)$*.o
-
-clean:
- $(RM) $(OBJS)
-ifeq ($(ARCH), WINNT)
- $(RM) $(BACKLDIF_DLL_OBJ)
-endif
- $(RM) $(LDAP_BACKLDIF)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
diff --git a/ldap/servers/slapd/libsh_stub/Makefile b/ldap/servers/slapd/libsh_stub/Makefile
deleted file mode 100644
index 9614bbed..00000000
--- a/ldap/servers/slapd/libsh_stub/Makefile
+++ /dev/null
@@ -1,90 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for libsh_stub.so
-#
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/lib/libsh_stub
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-include $(LDAP_SRC)/nsdeps.mk
-
-
-LIBSH_STUB_C= libsh_stub.c
-
-SHARE_LIB = $(addprefix $(OBJDEST)/, libsh_stub.so)
-
-# share lib
-CFLAGS = -G $(SLCFLAGS)
-
-# link libmtmalloc.so when built on 5.8 or 5.9
-ifeq ($(ARCH), SOLARIS)
- LINKFLAGS = -lmtmalloc
- LIBSH_STUB = libsh_stub
-else
- # do nothing on non-SOLARIS platforms
- LIBSH_STUB = no_op
-endif
-
-all: $(LIBSH_STUB)
-
-.PHONY: libsh_stub no_op
-
-libsh_stub: $(OBJDEST) $(SHARE_LIB)
-
-$(SHARE_LIB): $(LIBSH_STUB_C)
- $(CC) -o $(SHARE_LIB) $(CFLAGS) $(LIBSH_STUB_C) $(LINKFLAGS)
-
-no_op:
- -@echo libsh_stub.so is not built on $(ARCH) platform
-
-$(OBJDEST) :
- $(MKDIR) $@
-
-veryclean: clean
-
-clean:
- $(RM) $(SHARE_LIB)
diff --git a/ldap/servers/slapd/ntmsgdll/Makefile b/ldap/servers/slapd/ntmsgdll/Makefile
deleted file mode 100644
index c152ef0f..00000000
--- a/ldap/servers/slapd/ntmsgdll/Makefile
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for Directory Server NT messages DLL
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/ntmsgdll/obj
-BINDIR = $(LDAP_SERVER_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-MSGFILE = slapdmessages30
-
-MSG_SRC = ntslapdmessages
-
-NTMSGDLL = $(addprefix $(BINDIR)/, $(MSGFILE).$(DLL_SUFFIX))
-
-LDAP_MSG_OBJS= $(MSG_SRC).o $(MSG_SRC).res
-
-OBJS = $(addprefix $(OBJDEST)/, $(LDAP_MSG_OBJS))
-
-clientSDK: all
-
-all: $(OBJDEST) $(BINDIR) $(NTMSGDLL)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
- $(RM) $(OBJDEST)/msg00001.bin
- $(RM) $(LDAP_HDIR)/$(MSG_SRC).h
- $(RM) $(OBJDEST)/$(MSG_SRC).rc
- $(RM) $(NTMSGDLL)
-
-$(OBJDEST):
- $(MKDIR) $@
-
-$(NTMSGDLL): $(OBJS) $(LDAP_HDIR)/$(MSG_SRC).h
- $(LINK_DLL)
-
-$(LDAP_HDIR)/$(MSG_SRC).h: $(MSG_SRC).mc
-
-$(OBJDEST)/msg0001.bin: $(MSG_SRC).mc
-
-$(OBJDEST)/$(MSG_SRC).rc: $(MSG_SRC).mc
- $(MC) $< -h $(LDAP_HDIR) -r $(OBJDEST)
-
-$(OBJDEST)/$(MSG_SRC).res: $(OBJDEST)/$(MSG_SRC).rc
- $(RSC) -fo $(OBJDEST)/$(MSG_SRC).res $<
diff --git a/ldap/servers/slapd/ntperfdll/Makefile b/ldap/servers/slapd/ntperfdll/Makefile
deleted file mode 100644
index 448ef9bb..00000000
--- a/ldap/servers/slapd/ntperfdll/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-
-BUILD_ROOT = ../../../..
-LDAP_SRC = ../../..
-
-OBJDEST = $(OBJDIR)/servers/obj
-BINDIR = $(LDAP_SERVER_RELDIR)
-ALLDIRS = $(BINDIR) $(OBJDEST)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-LINK32=link.exe
-
-MC=mc #message compiler?
-
-DLLS = nsldapctr
-
-# -D's get all screwed up: we need to fix them:
-CFLAGS+= -UNS_PERSONAL
-# this lets us pickup regparms.h
-CFLAGS += -I $(BUILD_ROOT)/include
-
-MCS = nsldapctrmc
-DEPMC = $(addsuffix .h, $(MCS))
-
-OBJS = $(OBJDEST)/nsldapctr.o $(OBJDEST)/nsldapctrutil.o
-
-RELFILES = nsldapctrs.ini nsldapctrdef.h
-
-DESTRELFILES = $(addprefix $(LDAP_INSTALL_BIN_RELDIR)/, $(RELFILES))
-
-all: $(ALLDIRS) $(addprefix $(BINDIR)/, $(addsuffix .dll, $(DLLS) ) ) $(DESTRELFILES)
-
-nsldapctrmc.h:
- $(MC) -s -v $*.mc
-
-$(OBJDEST)/%.o: %.cpp
- cl -nologo -c $(CFLAGS) $(MCC_INCLUDE) /Tp $< -Fo$@
-
-$(BINDIR)/nsldapctr.dll: $(DEPMC) $(OBJS)
- $(LINK_DLL) /OUT:$@ /DEF:exports.def
-
-$(LDAP_INSTALL_BIN_RELDIR)/%: % $(LDAP_INSTALL_BIN_RELDIR)
- $(CP) $< $(dir $@)
diff --git a/ldap/servers/slapd/ntwdog/Makefile b/ldap/servers/slapd/ntwdog/Makefile
deleted file mode 100644
index 883aaf7f..00000000
--- a/ldap/servers/slapd/ntwdog/Makefile
+++ /dev/null
@@ -1,91 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# GNU Makefile for LDAP Server NT Service watchdog
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/ntwdog/obj
-SLAPD_OBJDEST= $(OBJDIR)/obj
-BINDIR = $(LDAP_SERVER_RELDIR)
-LDAP_LIBDIR = $(OBJDIR)/lib
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), WINNT)
-SUBSYSTEM=windows
-endif
-
-#INCLUDES += -I$(BUILD_ROOT)/include/libadmin
-
-DS_SERVER_DEFS =
-
-NTWDOG_OBJS= ntwatchdog.o
-
-OBJS = $(addprefix $(OBJDEST)/, $(NTWDOG_OBJS))
-
-LIBS_DEP = $(LDAP_LIBUTIL_DEP) $(LIBADMIN_DEP)
-
-LIBS = $(LDAP_LIBUTIL)
-
-EXTRA_LIBS += $(LIBS)
-
-NTWDOG = $(addprefix $(BINDIR)/, ns-slapd.exe)
-
-all: $(OBJDEST) $(BINDIR) $(NTWDOG)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-$(NTWDOG): $(OBJS) $(LIBS_DEP)
- $(LINK_EXE)
-
-veryclean: clean
-
-clean:
- $(RM) $(OBJS)
- $(RM) $(NTWDOG)
-
diff --git a/ldap/servers/slapd/tools/Makefile b/ldap/servers/slapd/tools/Makefile
deleted file mode 100644
index 736fe03b..00000000
--- a/ldap/servers/slapd/tools/Makefile
+++ /dev/null
@@ -1,216 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# gnu makefile for LDAP Server tools.
-#
-
-LDAP_SRC = ../../..
-BUILD_ROOT = ../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/servers/tools/obj
-BINDIR = $(LDAP_SERVER_RELDIR)
-
-SLAPD_OBJDIR = $(LDAP_OBJDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-ifndef LDAP_USE_OLD_DB
-INCLUDES+=-I$(DB_INCLUDE)
-else
-CFLAGS+=-DLDAP_USE_DB185
-endif
-
-SLAPDHDIR = ../
-
-ifeq ($(ARCH), OSF1)
-PLATFORM_SPECIFIC_EXTRA_LIBRARY = -lcxx
-else # OSF1
-# oems might need to edit this for their platform
-PLATFORM_SPECIFIC_EXTRA_LIBRARY =
-endif # OSF1
-
-INCLUDES += $(SSLINCLUDE)
-DEFS += $(SSL)
-
-OBJS1 += $(OBJDEST)/pwenc.o
-
-ifeq ($(USE_64), 1)
- ifeq ($(ARCH), HPUX)
- ifeq ($(NSOS_RELEASE),B.11.23)
- LDFLAGS += -lpthread +DD64
- else
- LDFLAGS += -lpthread +DA2.0W +DS2.0 +Z
- endif
- endif
- ifeq ($(ARCH), SOLARIS)
- LDFLAGS += -xarch=v9
- endif
-endif
-
-CFLAGS += $(ARCH_CFLAGS)
-
-INCLUDES += -I$(SLAPDHDIR) -I$(LDAP_ADMINCDIR)
-INCLUDES += -I$(ACLINC)
-INCLUDES += -I ../../plugins/rever
-LDFLAGS += $(EXLDFLAGS) $(SSLLIBFLAG)
-
-ifeq ($(ARCH), WINNT)
-SUBSYSTEM=console
-endif
-
-DEPLIBS=
-
-EXTRA_LIBS_DEP = $(LDAPSDK_DEP) \
- $(LDAP_LIBLDIF_DEP) \
- $(LDAP_SLIBLCACHE_DEP) $(DB_LIB_DEP) $(LIBSLAPD_DEP) \
- $(LDAP_COMMON_LIBS_DEP) $(SASL_DEP)
-
-EXTRA_LIBS += $(LDAPLINK) \
- $(LDAP_SLIBLCACHE) $(DB_LIB) \
- $(PLATFORM_SPECIFIC_EXTRA_LIBRARY) $(LIBSLAPD) $(LDAP_LIBLITEKEY) \
- $(ALIBS) \
- $(SECURITYLINK) $(DBMLINK) \
- $(THREADSLIB) $(LDAP_COMMON_LIBS) $(NSPRLINK) $(SVRCORELINK) \
- $(SASL_LINK)
-
-ifeq ($(ARCH), Linux)
-EXTRA_LIBS += -lcrypt
-endif
-
-
-KEYUPG_LIBS_DEP=
-KEYUPG_LIBS=$(LDAP_LIBLITEKEY)
-
-ifeq ($(ARCH), WINNT)
-KEYUPG_LIBS_DEP=$(LDAP_LIBUTIL_DEP)
-KEYUPG_LIBS += $(LDAP_LIBUTIL)
-endif
-
-ifdef HEAPAGENT
-CFLAGS+=-DPURIFYING
-LDAP_DONT_USE_SMARTHEAP=1
-endif
-
-# It looks like all of the latest versions of Unix that we ship on
-# have a good enough heap implementations that they don't need
-# SmartHeap. We still need it on NT.
-ifneq ($(ARCH), WINNT)
-LDAP_DONT_USE_SMARTHEAP=1
-endif
-
-# Don't use smartheap for debug builds on NT
-ifeq ($(ARCH), WINNT)
-ifeq ($(DEBUG), full)
-LDAP_DONT_USE_SMARTHEAP=1
-endif
-endif
-
-ifndef LDAP_DONT_USE_SMARTHEAP
-include $(BUILD_ROOT)/ns_usesh.mk
-_smartheap_depend = $(SH_LIB_DEP)
-else
-CFLAGS+=-DLDAP_DONT_USE_SMARTHEAP
-endif
-
-
-TOOL_OBJS = ldif.o keyupg.o pwenc.o mmldif.o migratecred.o eggencode.o dbscan.o
-ALL_OBJS = $(addprefix $(OBJDEST)/, $(TOOL_OBJS))
-
-LDIF = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, ldif))
-PWDHASH = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, pwdhash))
-MIGRATECRED = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, migratecred))
-KEYUPG = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, keyupg))
-MMLDIF = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, mmldif))
-EGGENCODE = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, eggencode))
-DBSCAN = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, dbscan))
-
-BINS= $(LDIF) $(PWDHASH) $(KEYUPG) $(MMLDIF) $(MIGRATECRED) $(DBSCAN)
-EXTRABINS= $(EGGENCODE)
-
-all: $(OBJDEST) $(BINDIR) $(LDAP_ADMIN_BIN_RELDIR) $(BINS) buildRsearch buildLdclt
-
-extras: $(OBJDEST) $(BINDIR) $(EGGENCODE)
-
-$(LDIF): $(OBJDEST)/ldif.o $(LDAP_LIBLDIF_DEP)
- $(LINK_EXE) $< $(LDAP_LIBLDIF) $(SASL_LINK)
-
-$(PWDHASH): $(OBJS1) $(EXTRA_LIBS_DEP)
- $(LINK_EXE) $(OBJS1) $(EXTRA_LIBS)
-
-$(MIGRATECRED): $(OBJDEST)/migratecred.o $(EXTRA_LIBS_DEP)
- $(LINK_EXE) $(OBJDEST)/migratecred.o $(EXTRA_LIBS)
-
-$(KEYUPG): $(OBJDEST)/keyupg.o $(KEYUPG_LIBS_DEP)
- $(LINK_EXE_NOLIBSOBJS) $< $(KEYUPG_LIBS)
-
-$(MMLDIF): $(OBJDEST)/mmldif.o $(EXTRA_LIBS_DEP)
- $(LINK_EXE_NOLIBSOBJS) $(OBJDEST)/mmldif.o $(EXTRA_LIBS)
-
-$(EGGENCODE): $(OBJDEST)/eggencode.o
- $(LINK_EXE_NOLIBSOBJS) $(OBJDEST)/eggencode.o
-
-$(DBSCAN): $(OBJDEST)/dbscan.o
- $(LINK_EXE) $<
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-buildRsearch:
- cd rsearch; $(MAKE) LDFLAGS="$(LDFLAGS)"
-
-buildLdclt:
- cd ldclt; $(MAKE) LDFLAGS="$(LDFLAGS)"
-
-clean:
- -$(RM) $(ALL_OBJS)
- -$(RM) $(BINS) $(EXTRABINS)
- cd rsearch; $(MAKE) clean
-
diff --git a/ldap/servers/slapd/tools/ldclt/Makefile b/ldap/servers/slapd/tools/ldclt/Makefile
deleted file mode 100644
index 5209c952..00000000
--- a/ldap/servers/slapd/tools/ldclt/Makefile
+++ /dev/null
@@ -1,138 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2006 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# This Makefile is targetted to build the ldclt tool. This tool is a
-# multithreaded ldap client, specially targetted to ensure good
-# reliability of the product under test.
-#
-# -----------------------------------------------------------------------------
-
-LDAP_SRC = ../../../..
-BUILD_ROOT = ../../../../..
-
-OBJDEST = $(OBJDIR)/servers/tools/obj
-BINDIR = $(RELDIR)/usr/bin
-DATDIR = $(RELDIR)/usr/share/data
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(OS_ARCH), WINNT)
-OBJEXT =.obj
-else
-OBJEXT =.o
-endif
-
-EXTRA_LIBS_DEP = $(LDAPSDK_DEP) $(DB_LIB_DEP) $(LDAP_COMMON_LIBS_DEP) $(SASL_DEP)
-
-EXTRA_LIBS += $(LDAPLINK) $(DB_LIB) \
- $(PLATFORM_SPECIFIC_EXTRA_LIBRARY) \
- $(ALIBS) $(NSPRLINK) $(SECURITYLINK) \
- $(THREADSLIB) $(LDAP_COMMON_LIBS) $(SASL_LINK)
-
-LDCLTSRC = \
- data.c \
- ldapfct.c \
- ldclt.c \
- ldcltU.c \
- parser.c \
- port.c \
- scalab01.c \
- threadMain.c \
- utils.c \
- version.c \
- workarounds.c
-
-#ifdef SUN_DS_3_X_SUPPORT
-LDCLTSRC += opCheck.c
-#endif
-
-LDCLTOBJS = $(addprefix $(OBJDEST)/, $(LDCLTSRC:.c=$(OBJEXT)))
-
-HDIR = $(LDAP_SRC)/include
-
-LDCLTBIN = $(addsuffix $(EXE_SUFFIX), $(addprefix $(BINDIR)/, ldclt))
-
-INC_FILES = \
- ldclt.h \
- port.h \
- utils.h \
- remote.h
-
-INC_PLUGINS = \
- scalab01.h
-
-ADDLIBS = $(LDAPLIBS) $(SPEC_LIBS) $(SYSTEM_LIBS) $(END)
-
-CFLAGS+=-DLDAP_DONT_USE_SMARTHEAP
-
-ifeq ($(ARCH), Linux)
-CFLAGS+=-D_XOPEN_SOURCE=500
-endif
-
-EXTRA_LIBS_DEP = $(LDAPSDK_DEP) $(DB_LIB_DEP) $(LDAP_COMMON_LIBS_DEP)
-
-EXTRA_LIBS += $(LDAPLINK) $(DB_LIB) \
- $(PLATFORM_SPECIFIC_EXTRA_LIBRARY) \
- $(ALIBS) $(NSPRLINK) $(SECURITYLINK) \
- $(THREADSLIB) $(LDAP_COMMON_LIBS)
-
-##########################################################################
-
-all: $(OBJDEST) $(BINDIR) $(LDCLTBIN)
-
-clean:
- -$(RM) $(LDCLTOBJS) $(LDCLTBIN)
-
-$(OBJDEST):
- if [ ! -d $(OBJDEST) ]; then \
- $(MKDIR) $(OBJDEST); \
- fi
-
-$(BINDIR):
- if [ ! -d $(BINDIR) ]; then \
- $(MKDIR) $(BINDIR); \
- fi
-
-$(LDCLTBIN): $(LDCLTOBJS)
- $(LINK_EXE) $(LDCLTOBJS) $(EXTRA_LIBS)
- -chmod 755 $(LDCLTBIN)
-
diff --git a/ldap/servers/slapd/tools/rsearch/Makefile b/ldap/servers/slapd/tools/rsearch/Makefile
deleted file mode 100644
index 8a85af00..00000000
--- a/ldap/servers/slapd/tools/rsearch/Makefile
+++ /dev/null
@@ -1,155 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2006 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# gnu makefile for LDAP Server tools.
-#
-
-LDAP_SRC = ../../../..
-BUILD_ROOT = ../../../../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/servers/tools/obj
-BINDIR = $(RELDIR)/usr/bin
-DATDIR = $(RELDIR)/usr/share/$(DS_BRAND)-ds/data
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), OSF1)
-PLATFORM_SPECIFIC_EXTRA_LIBRARY = -lcxx
-else # OSF1
-# oems might need to edit this for their platform
-PLATFORM_SPECIFIC_EXTRA_LIBRARY =
-endif # OSF1
-
-EXTRA_LIBS_DEP = $(LDAPSDK_DEP) $(DB_LIB_DEP) $(LDAP_COMMON_LIBS_DEP) $(SASL_DEP)
-
-EXTRA_LIBS += $(LDAPLINK) $(DB_LIB) \
- $(PLATFORM_SPECIFIC_EXTRA_LIBRARY) \
- $(ALIBS) $(NSPRLINK) $(SECURITYLINK) \
- $(THREADSLIB) $(LDAP_COMMON_LIBS) $(SASL_LINK)
-
-ifeq ($(ARCH), Linux)
-EXTRA_LIBS += -lcrypt
-endif
-
-# It looks like all of the latest versions of Unix that we ship on
-# have a good enough heap implementations that they don't need
-# SmartHeap. We still need it on NT.
-ifneq ($(ARCH), WINNT)
-LDAP_DONT_USE_SMARTHEAP=1
-endif
-
-# Don't use smartheap for debug builds on NT
-ifeq ($(ARCH), WINNT)
-ifeq ($(DEBUG), full)
-LDAP_DONT_USE_SMARTHEAP=1
-endif
-endif
-
-ifndef LDAP_DONT_USE_SMARTHEAP
-include $(BUILD_ROOT)/ns_usesh.mk
-_smartheap_depend = $(SH_LIB_DEP)
-else
-CFLAGS+=-DLDAP_DONT_USE_SMARTHEAP
-endif
-
-RSEARCHSRC := nametable.c sdattable.c searchthread.c rsearch.c
-
-INFADDSRC := nametable.c addthread.c infadd.c
-
-DATAFILES := scripts/dbgen-GivenNames scripts/dbgen-FamilyNames scripts/dbgen-OrgUnits
-
-DBGEN := scripts/dbgen.pl
-
-ifeq ($(OS_ARCH), WINNT)
-OBJEXT :=.obj
-else
-OBJEXT :=.o
-endif
-
-RSEARCHOBJS = $(addprefix $(OBJDEST)/, $(RSEARCHSRC:.c=$(OBJEXT)))
-INFADDOBJS = $(addprefix $(OBJDEST)/, $(INFADDSRC:.c=$(OBJEXT)))
-HDIR = $(LDAP_SRC)/include
-
-ALL_OBJS = $(RSEARCHOBJS) $(INFADDOBJS)
-
-RSEARCH = $(addsuffix $(EXE_SUFFIX), $(addprefix $(BINDIR)/, rsearch))
-INFADD = $(addsuffix $(EXE_SUFFIX), $(addprefix $(BINDIR)/, infadd))
-DBGEN = $(addsuffix $(EXE_SUFFIX), $(addprefix $(BINDIR)/, dbgen.pl))
-
-BINS= $(RSEARCH) $(INFADD) $(DBGEN)
-
-all: $(OBJDEST) $(BINDIR) $(BINS) $(DATDIR)
-
-$(RSEARCH): $(RSEARCHOBJS) $(BINDIR)
- $(LINK_EXE) $(RSEARCHOBJS) $(LDAP_LIBLDIF)
- -chmod 755 $(RSEARCH)
-
-$(INFADD): $(INFADDOBJS) $(BINDIR)
- $(LINK_EXE) $(INFADDOBJS) $(LDAP_LIBLDIF)
- -chmod 755 $(INFADD)
-
-$(DBGEN): scripts/dbgen.pl $(BINDIR)
- cp scripts/dbgen.pl $(BINDIR)
- -chmod 755 $(DBGEN)
-
-$(OBJDEST):
- if [ ! -d $(OBJDEST) ]; then \
- $(MKDIR) $(OBJDEST); \
- fi
-
-$(BINDIR):
- if [ ! -d $(BINDIR) ]; then \
- $(MKDIR) $(BINDIR); \
- fi
-
-$(DATDIR):
- -$(RM) -r $(DATDIR)
- -$(MKDIR) $(DATDIR)
- cp scripts/dbgen-* $(DATDIR)
-
-clean:
- -$(RM) $(ALL_OBJS)
- -$(RM) -r $(BINS) $(DATDIR)
-
diff --git a/ldap/servers/snmp/Makefile b/ldap/servers/snmp/Makefile
deleted file mode 100644
index 50a48c35..00000000
--- a/ldap/servers/snmp/Makefile
+++ /dev/null
@@ -1,141 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# Make file SNMP subagent for Fedora Directory Server
-#
-#
-# Revision History:
-#
-# 07/31/97 Created by stevross
-#
-#
-
-BUILD_ROOT = ../../..
-LDAP_SRC = ../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/ldap-agent
-BINDIR = $(LDAP_SERVER_RELDIR)
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ARCH := $(shell uname -s)
-ifneq ($(ARCH), WINNT)
-ARCH := $(shell $(BUILD_ROOT)/nsarch)
-endif
-
-ifeq ($(USE_64), 1)
- ifeq ($(ARCH), HPUX)
- ifeq ($(NSOS_RELEASE), B.11.23)
- LDFLAGS += -lpthread +DD64 +Z
- else
- LDFLAGS += -lpthread +DA2.0W +DS2.0 +Z
- endif
- endif
- ifeq ($(ARCH), SOLARIS)
- LDFLAGS += -xarch=v9
- endif
-endif
-
-SNMP_OBJS = main.o ldap-agent.o agtmmap.o
-OBJS = $(addprefix $(OBJDEST)/, $(SNMP_OBJS))
-SNMPMODULE = ldap-agent
-AGTMMAP_DIR = $(LDAP_SRC)/servers/slapd
-
-ifneq ($(ARCH), WINNT)
- INCLUDES += -I. $(NETSNMP_INCLUDE) $(NSPR_INCLUDE)
- EXTERNAL_AGENT_LIBS = $(shell $(NETSNMP_BINDIR)/net-snmp-config --external-agent-libs)
- EXTRA_LIBS += $(NETSNMP_LINK) $(EXTERNAL_AGENT_LIBS)
-endif
-
-# the redhat-directory.mib goes in the _datadir/brand-ds/plugins/snmp directory, and the other mib like
-# files go in the _datadir/brand-ds/plugins/snmp/mibs directory
-MIB_DEST_DIR = $(RELDIR)/$(DS_PLUGINDIR)/snmp
-MIB_SRC_FILES =redhat-directory.mib
-MIBS_DEST_DIR = $(MIB_DEST_DIR)/mibs
-MIBS_SRC_FILES = NETWORK-SERVICES-MIB.txt \
- RFC1155-SMI.txt \
- RFC-1215.txt \
- SNMPv2-CONF.txt \
- SNMPv2-SMI.txt \
- SNMPv2-TC.txt
-MIB_DEST_FILES = $(addprefix $(MIBS_DEST_DIR)/,$(notdir $(MIBS_SRC_FILES))) \
- $(addprefix $(MIB_DEST_DIR)/,$(MIB_SRC_FILES))
-
-default: all
-
-ifneq ($(ARCH), WINNT)
-all: $(OBJDEST) $(BINDIR)/$(SNMPMODULE) $(MIB_DEST_DIR)/$(MIB_SRC_FILES) $(MIB_DEST_FILES)
-else
-OBJ_SUFFIX=obj
-all: $(MIB_DEST_FILES)
- cd ntagt; $(MAKE) $(MFLAGS) all
-endif
-
-# Rule to make agtmmap
-$(OBJDEST)/agtmmap.o: $(AGTMMAP_DIR)/agtmmap.c
- $(CC) $(CFLAGS) -g -o $@ -c $<
-
-# Rule to create destination directories
-$(MIBS_DEST_DIR) $(MIB_DEST_DIR) $(OBJDEST):
- $(MKDIR) $@
-
-# Rule to build subagent binary
-$(BINDIR)/$(SNMPMODULE): $(OBJS)
- $(LINK_EXE)
-
-# this rule is for mib files in the local directory that go in the nsmib directory
-$(MIB_DEST_DIR)/$(MIB_SRC_FILES): $(MIB_DEST_DIR)
- $(CP) ./$(MIB_SRC_FILES) $@
-
-# this rule is for mib files which go in the mibs subdir
-$(MIBS_DEST_DIR)/%: % $(MIBS_DEST_DIR)
- $(CP) $< $@
-
-clean: localclean
-
-localclean:
-ifneq ($(ARCH), WINNT)
- $(RM) $(EXTDEST)/$(SNMPMODULE)$(EXE_SUFFIX)
-endif
-
diff --git a/ldap/servers/snmp/ntagt/Makefile b/ldap/servers/snmp/ntagt/Makefile
deleted file mode 100644
index 501defdf..00000000
--- a/ldap/servers/snmp/ntagt/Makefile
+++ /dev/null
@@ -1,134 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#############################################################################
-# SNMP NT Subagent Common Rulesets #
-#############################################################################
-
-BUILD_ROOT = ../../../..
-MSRV_ROOT = ../../..
-SLAPD_ROOT = $(MSRV_ROOT)/servers/slapd
-SNMP_ROOT = $(MSRV_ROOT)/servers/snmp
-LIBDEST = $(OBJDIR)/obj
-BINDIR = $(LDAP_SERVER_RELDIR)
-
-NOSTDCLEAN = true # don't let nsconfig.mk define target clean
-NOSTDSTRIP = true # don't let nsconfig.mk define target strip
-
-include $(BUILD_ROOT)/nsconfig.mk
-include $(MSRV_ROOT)/nsldap.mk
-
-OBJ_SUFFIX = obj
-
-INCLUDES += -I../../slapd -I$(BUILD_ROOT)/ldap/include
-
-CCOPTS += $(CFLAGS) $(DLL_CFLAGS) $(MCC_INCLUDE) $(INCLUDES) -I$(SNMP_ROOT)
-CXXOPTS += $(CFLAGS) $(DLL_CXXFLAGS) $(MCC_INCLUDE) $(INCLUDES) -I$(SNMP_ROOT)
-
-EXTRA_LIBS = advapi32.lib user32.lib snmpapi.lib mgmtapi.lib $(LDAP_SDK_LIBLDAP_DLL)
-
-#############################################################################
-# SNMP NT Subagent Core Components #
-#############################################################################
-
-LOCAL_SRCS = agtmmap.c \
- nsldapagt_nt.c \
- nsldapmib_nt.c
-
-SNMP_SRCS = $(LOCAL_SRCS)
-
-LOCAL_INCS = agtmmap.h \
- nsldapagt_nt.h \
- nsldapmib_nt.h
-
-SNMP_INCS = $(LOCAL_INCS)
-
-SNMP_OBJS = $(addprefix $(LIBDEST)/, \
- agtmmap.$(OBJ_SUFFIX) \
- nsldapagt_nt.$(OBJ_SUFFIX) \
- nsldapmib_nt.$(OBJ_SUFFIX))
-
-
-SNMP_LIB = ns-ldapagt.$(DLL_SUFFIX)
-SNMP_IMPLIB = ns-ldapagt.$(LIB_SUFFIX)
-
-#############################################################################
-# SNMP NT Subagent Build Rules #
-#############################################################################
-
-# Now we get into the actual build rules
-AGTMMAP = agtmmap
-
-all: $(LDAP_SERVER_RELDIR) $(AGTMMAP) $(BINDIR)/$(SNMP_LIB)
-
-over: clean all
-
-$(AGTMMAP): $(SLAPD_ROOT)/$(AGTMMAP).c $(SLAPD_ROOT)/$(AGTMMAP).h
- $(CP) $(SLAPD_ROOT)/$(AGTMMAP).c .
- $(CP) $(SLAPD_ROOT)/$(AGTMMAP).h .
-
-$(SNMP_OBJS): $(SNMP_SRCS) $(SNMP_INCS)
-
-$(BINDIR)/$(SNMP_LIB): $(SNMP_OBJS) $(SNMP_RES) Makefile
- $(LINK_DLL) $(LD_EXTRAS) /DEF:"nsldapagt_nt.def" /VERSION:"1" \
- $(SNMP_OBJS) $(EXTRA_LIBS)
-
-$(LIBDEST)/%.$(OBJ_SUFFIX): %.cxx
- $(CCP) -c $(CXXOPTS) $< -Fo$(LIBDEST)/$*.$(OBJ_SUFFIX)
-
-$(LIBDEST)/%.$(OBJ_SUFFIX): %.c
- $(CC) -c $(CCOPTS) $< -Fo$(LIBDEST)/$*.$(OBJ_SUFFIX)
-
-$(LIBDEST)/%.$(OBJ_SUFFIX): $(SNMP_ROOT)/%.cxx
- $(CCP) -c $(CXXOPTS) $< -Fo$(LIBDEST)/$*.$(OBJ_SUFFIX)
-
-$(LIBDEST)/%.$(OBJ_SUFFIX): $(SNMP_ROOT)/%.c
- $(CC) -c $(CCOPTS) $< -Fo$(LIBDEST)/$*.$(OBJ_SUFFIX)
-
-clean: localclean
-
-localclean:
- $(RM) $(SNMP_OBJS) $(LIBDEST)/$(SNMP_LIB) $(LIBDEST)/$(SNMP_IMPLIB) $(AGTMMAP).c $(AGTMMAP).h
-
-#############################################################################
-# Depend Area #
-#############################################################################
-
-# DO NOT DELETE THIS LINE -- make depend depends on it.
-
diff --git a/ldap/systools/Makefile b/ldap/systools/Makefile
deleted file mode 100644
index 128f8409..00000000
--- a/ldap/systools/Makefile
+++ /dev/null
@@ -1,131 +0,0 @@
-#
-# BEGIN COPYRIGHT BLOCK
-# This Program is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free Software
-# Foundation; version 2 of the License.
-#
-# This Program is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
-# Place, Suite 330, Boston, MA 02111-1307 USA.
-#
-# In addition, as a special exception, Red Hat, Inc. gives You the additional
-# right to link the code of this Program with code not covered under the GNU
-# General Public License ("Non-GPL Code") and to distribute linked combinations
-# including the two, subject to the limitations in this paragraph. Non-GPL Code
-# permitted under this exception must only link to the code of this Program
-# through those well defined interfaces identified in the file named EXCEPTION
-# found in the source code files (the "Approved Interfaces"). The files of
-# Non-GPL Code may instantiate templates or use macros or inline functions from
-# the Approved Interfaces without causing the resulting work to be covered by
-# the GNU General Public License. Only Red Hat, Inc. may make changes or
-# additions to the list of Approved Interfaces. You must obey the GNU General
-# Public License in all respects for all of the Program code and other code used
-# in conjunction with the Program except the Non-GPL Code covered by this
-# exception. If you modify this file, you may extend this exception to your
-# version of the file, but you are not obligated to do so. If you do not wish to
-# provide this exception without modification, you must delete this exception
-# statement from your version and license this file solely under the GPL without
-# exception.
-#
-#
-# Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
-# Copyright (C) 2005 Red Hat, Inc.
-# All rights reserved.
-# END COPYRIGHT BLOCK
-#
-#
-# gnu makefile for LDAP Server tools.
-#
-
-LDAP_SRC = ..
-BUILD_ROOT = ../..
-
-NOSTDCLEAN=true # don't let nsconfig.mk define target clean
-NOSTDSTRIP=true # don't let nsconfig.mk define target strip
-
-OBJDEST = $(OBJDIR)/servers/tools/obj
-BINDIR = $(LDAP_SERVER_RELDIR)
-
-SLAPD_OBJDIR = $(LDAP_OBJDIR)
-
-include $(BUILD_ROOT)/nsdefs.mk
-include $(BUILD_ROOT)/nsconfig.mk
-include $(LDAP_SRC)/nsldap.mk
-
-ifeq ($(ARCH), OSF1)
-PLATFORM_SPECIFIC_EXTRA_LIBRARY = -lcxx
-else # OSF1
-# oems might need to edit this for their platform
-PLATFORM_SPECIFIC_EXTRA_LIBRARY =
-endif # OSF1
-
-
-ifeq ($(USE_64), 1)
- ifeq ($(ARCH), HPUX)
- ifeq ($(NSOS_RELEASE),B.11.23)
- LDFLAGS += +DD64
- else
- LDFLAGS += +DA2.0W +DS2.0 +Z
- endif
- endif
- ifeq ($(ARCH), SOLARIS)
- LDFLAGS += -xarch=v9
- endif
-endif
-
-LDFLAGS += $(EXLDFLAGS)
-
-DEPLIBS=
-
-EXTRA_LIBS_DEP =
-
-EXTRA_LIBS = $(PLATFORM_SPECIFIC_EXTRA_LIBRARY)
-
-ifeq ($(ARCH), Linux)
-EXTRA_LIBS += -lcrypt
-endif
-
-ifeq ($(ARCH), SOLARIS)
-EXTRA_LIBS += -lelf
-endif
-
-ifeq ($(ARCH), AIX)
-EXTRA_LIBS += -lodm
-endif
-
-TOOL_OBJS = idsktune.o pio.o viewcore.o
-ALL_OBJS = $(addprefix $(OBJDEST)/, $(TOOL_OBJS))
-
-DSKTUNE = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, dsktune))
-VIEWCORE = $(addsuffix $(EXE_SUFFIX), \
- $(addprefix $(BINDIR)/, viewcore))
-
-ifeq ($(ARCH), SOLARIS)
-BINS= $(DSKTUNE) $(VIEWCORE)
-else
-BINS= $(DSKTUNE)
-endif
-
-all: $(OBJDEST) $(BINDIR) $(BINS)
-
-$(DSKTUNE): $(OBJDEST)/idsktune.o $(OBJDEST)/pio.o $(EXTRA_LIBS_DEP)
- $(LINK_EXE_NOLIBSOBJS) $< $(OBJDEST)/pio.o $(EXTRA_LIBS)
-
-$(VIEWCORE): $(OBJDEST)/viewcore.o $(EXTRA_LIBS_DEP)
- $(LINK_EXE_NOLIBSOBJS) $< $(EXTRA_LIBS)
-
-$(OBJDEST):
- $(MKDIR) $(OBJDEST)
-
-$(OBJDEST)/idsktune.o: sol_patches.c hp_patches.c
-
-clean:
- -$(RM) $(ALL_OBJS)
- -$(RM) $(BINS)
-
-