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/>.
|
|
|
|
##
|
2010-04-14 06:17:29 +08:00
|
|
|
## Copyright 1998-2010 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 \
|
2009-11-29 08:03:06 +08:00
|
|
|
slapd-modify slapd-bind ldif-filter
|
1999-10-28 15:31:59 +08:00
|
|
|
|
2006-01-12 21:01:38 +08:00
|
|
|
SRCS = slapd-common.c \
|
|
|
|
slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c \
|
2009-11-29 08:03:06 +08:00
|
|
|
slapd-modrdn.c slapd-modify.c slapd-bind.c ldif-filter.c
|
1999-02-22 19:28:01 +08:00
|
|
|
|
|
|
|
LDAP_INCDIR= ../../include
|
|
|
|
LDAP_LIBDIR= ../../libraries
|
|
|
|
|
2009-02-18 08:01:28 +08:00
|
|
|
XLIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLUTIL_A) $(LDAP_LIBLBER_LA)
|
2006-01-12 21:01:38 +08:00
|
|
|
XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS)
|
|
|
|
|
|
|
|
OBJS = slapd-common.o
|
1999-02-22 19:28:01 +08:00
|
|
|
|
|
|
|
# build-tools: FORCE
|
|
|
|
# $(MAKE) $(MFLAGS) load-tools
|
|
|
|
|
|
|
|
# load-tools: $(PROGRAMS)
|
|
|
|
|
2006-01-12 21:01:38 +08:00
|
|
|
slapd-tester: slapd-tester.o $(OBJS) $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-tester.o $(OBJS) $(LIBS)
|
|
|
|
|
|
|
|
slapd-search: slapd-search.o $(OBJS) $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-search.o $(OBJS) $(LIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
|
2006-01-12 21:01:38 +08:00
|
|
|
slapd-read: slapd-read.o $(OBJS) $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-read.o $(OBJS) $(LIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
|
2006-01-12 21:01:38 +08:00
|
|
|
slapd-addel: slapd-addel.o $(OBJS) $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-addel.o $(OBJS) $(LIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
|
2006-01-12 21:01:38 +08:00
|
|
|
slapd-modrdn: slapd-modrdn.o $(OBJS) $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-modrdn.o $(OBJS) $(LIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
|
2006-01-12 21:01:38 +08:00
|
|
|
slapd-modify: slapd-modify.o $(OBJS) $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-modify.o $(OBJS) $(LIBS)
|
1999-02-22 19:28:01 +08:00
|
|
|
|
2006-01-12 21:01:38 +08:00
|
|
|
slapd-bind: slapd-bind.o $(OBJS) $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ slapd-bind.o $(OBJS) $(LIBS)
|
2005-10-30 16:57:06 +08:00
|
|
|
|
2009-11-29 08:03:06 +08:00
|
|
|
ldif-filter: ldif-filter.o $(XLIBS)
|
|
|
|
$(LTLINK) -o $@ ldif-filter.o $(LIBS)
|
|
|
|
|