openldap/tests/progs/Makefile.in
2002-01-04 21:17:25 +00:00

36 lines
941 B
Makefile

# $OpenLDAP$
## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
##
## tests Makefile.in for OpenLDAP
UNIX_PRGS = slapd-tester slapd-search slapd-read slapd-addel
PROGRAMS = $(@PLAT@_PRGS)
SRCS = slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c
LDAP_INCDIR= ../../include
LDAP_LIBDIR= ../../libraries
XLIBS = -lldap -llber
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
# build-tools: FORCE
# $(MAKE) $(MFLAGS) load-tools
# load-tools: $(PROGRAMS)
slapd-tester: slapd-tester.o
$(LTLINK) -o $@ slapd-tester.o $(LIBS)
slapd-search: slapd-search.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
$(LTLINK) -o $@ slapd-search.o $(LIBS)
slapd-read: slapd-read.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
$(LTLINK) -o $@ slapd-read.o $(LIBS)
slapd-addel: slapd-addel.o $(LDAP_LIBLBER_DEPEND) $(LDAP_LIBLDAP_DEPEND)
$(LTLINK) -o $@ slapd-addel.o $(LIBS)