-## Copyright 1998 The OpenLDAP Foundation, All Rights Reserved.
-## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+## Makefile.in for test programs
+# $OpenLDAP$
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
##
-## tests Makefile.in for OpenLDAP
+## Copyright 1998-2005 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
-PROGRAMS = slapd-tester slapd-search slapd-read slapd-addel
-SRCS = slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c
+SRCS = slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c \
+ slapd-modrdn.c slapd-modify.c
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
-XLIBS = -lldap -llber
+XLIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
# build-tools: FORCE
# load-tools: $(PROGRAMS)
-slapd-tester: slapd-tester.o
+slapd-tester: slapd-tester.o $(XLIBS)
$(LTLINK) -o $@ slapd-tester.o $(LIBS)
-slapd-search: slapd-search.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
+slapd-search: slapd-search.o $(XLIBS)
$(LTLINK) -o $@ slapd-search.o $(LIBS)
-slapd-read: slapd-read.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
+slapd-read: slapd-read.o $(XLIBS)
$(LTLINK) -o $@ slapd-read.o $(LIBS)
-slapd-addel: slapd-addel.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
+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)