## Makefile.in for test programs
# $OpenLDAP: pkg/ldap/tests/progs/Makefile.in,v 1.18.2.3 2006/01/03 22:16:28 kurt Exp $
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
## Copyright 1998-2006 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted only as authorized by the OpenLDAP
## Public License.
##
## A copy of this license is available in the file LICENSE in the
## top-level directory of the distribution or, alternatively, at
## <http://www.OpenLDAP.org/license.html>.

PROGRAMS = slapd-tester slapd-search slapd-read slapd-addel slapd-modrdn \
		slapd-modify slapd-bind

SRCS     = slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c \
		slapd-modrdn.c slapd-modify.c slapd-bind.c

LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries

XLIBS    = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
XXLIBS	= $(SECURITY_LIBS) $(LUTIL_LIBS)

# build-tools: FORCE
# $(MAKE) $(MFLAGS) load-tools

# load-tools: $(PROGRAMS)

slapd-tester: slapd-tester.o $(XLIBS)
	$(LTLINK) -o $@ slapd-tester.o $(LIBS)

slapd-search: slapd-search.o $(XLIBS)
	$(LTLINK) -o $@ slapd-search.o $(LIBS)

slapd-read: slapd-read.o $(XLIBS)
	$(LTLINK) -o $@ slapd-read.o $(LIBS)

slapd-addel: slapd-addel.o $(XLIBS)
	$(LTLINK) -o $@ slapd-addel.o $(LIBS)

slapd-modrdn: slapd-modrdn.o $(XLIBS)
	$(LTLINK) -o $@ slapd-modrdn.o $(LIBS)

slapd-modify: slapd-modify.o $(XLIBS)
	$(LTLINK) -o $@ slapd-modify.o $(LIBS)

slapd-bind: slapd-bind.o $(XLIBS)
	$(LTLINK) -o $@ slapd-bind.o $(LIBS)
