2003-11-26 10:58:56 +08:00
|
|
|
## Makefile.in for test programs
|
1999-09-02 08:56:32 +08:00
|
|
|
# $OpenLDAP$
|
2003-11-26 23:24:38 +08:00
|
|
|
## This work is part of OpenLDAP Software <http://www.openldap.org/>.
|
|
|
|
##
|
2006-01-04 07:11:52 +08:00
|
|
|
## Copyright 1998-2006 The OpenLDAP Foundation.
|
2003-11-26 10:58:56 +08:00
|
|
|
## All rights reserved.
|
1999-02-22 19:28:01 +08:00
|
|
|
##
|
2003-11-26 10:58:56 +08:00
|
|
|
## 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>.
|
1999-02-22 19:28:01 +08:00
|
|
|
|
2004-08-28 01:07:18 +08:00
|
|
|
PROGRAMS = slapd-tester slapd-search slapd-read slapd-addel slapd-modrdn \
|
2005-10-30 16:57:06 +08:00
|
|
|
slapd-modify slapd-bind
|
1999-10-28 15:31:59 +08:00
|
|
|
|
2003-02-22 20:01:59 +08:00
|
|
|
SRCS = slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c \
|
2005-10-30 16:57:06 +08:00
|
|
|
slapd-modrdn.c slapd-modify.c slapd-bind.c
|
1999-02-22 19:28:01 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
2002-07-27 11:34:23 +08:00
|
|
|
XLIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA) $(LDAP_LIBLUTIL_A)
|
1999-08-05 10:25:19 +08:00
|
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
|
|
|
|
# build-tools: FORCE
|
|
|
|
# $(MAKE) $(MFLAGS) load-tools
|
|
|
|
|
|
|
|
# load-tools: $(PROGRAMS)
|
|
|
|
|
2002-02-11 06:42:51 +08:00
|
|
|
slapd-tester: slapd-tester.o $(XLIBS)
|
1999-08-20 02:36:10 +08:00
|
|
|
$(LTLINK) -o $@ slapd-tester.o $(LIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
|
2002-02-11 06:42:51 +08:00
|
|
|
slapd-search: slapd-search.o $(XLIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
$(LTLINK) -o $@ slapd-search.o $(LIBS)
|
|
|
|
|
2002-02-11 06:42:51 +08:00
|
|
|
slapd-read: slapd-read.o $(XLIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
$(LTLINK) -o $@ slapd-read.o $(LIBS)
|
|
|
|
|
2002-02-11 06:42:51 +08:00
|
|
|
slapd-addel: slapd-addel.o $(XLIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
$(LTLINK) -o $@ slapd-addel.o $(LIBS)
|
|
|
|
|
2003-02-22 20:01:59 +08:00
|
|
|
slapd-modrdn: slapd-modrdn.o $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-modrdn.o $(LIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
|
2004-08-28 01:07:18 +08:00
|
|
|
slapd-modify: slapd-modify.o $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-modify.o $(LIBS)
|
2005-10-30 16:57:06 +08:00
|
|
|
|
|
|
|
slapd-bind: slapd-bind.o $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-bind.o $(LIBS)
|