1 ## Makefile.in for test programs 2 # $OpenLDAP$ 3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4 ## 5 ## Copyright 1998-2024 The OpenLDAP Foundation. 6 ## All rights reserved. 7 ## 8 ## Redistribution and use in source and binary forms, with or without 9 ## modification, are permitted only as authorized by the OpenLDAP 10 ## Public License. 11 ## 12 ## A copy of this license is available in the file LICENSE in the 13 ## top-level directory of the distribution or, alternatively, at 14 ## <http://www.OpenLDAP.org/license.html>. 15 16 PROGRAMS = slapd-tester slapd-search slapd-read slapd-addel slapd-modrdn \ 17 slapd-modify slapd-bind slapd-mtread ldif-filter slapd-watcher 18 19 SRCS = slapd-common.c \ 20 slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c \ 21 slapd-modrdn.c slapd-modify.c slapd-bind.c slapd-mtread.c \ 22 ldif-filter.c slapd-watcher.c 23 24 LDAP_INCDIR= ../../include 25 LDAP_LIBDIR= ../../libraries 26 27 XLIBS = $(LDAP_LIBLDAP_LA) $(LDAP_LIBLUTIL_A) $(LDAP_LIBLDAP_LA) $(LDAP_LIBLBER_LA) 28 XXLIBS = $(SECURITY_LIBS) $(LUTIL_LIBS) 29 XXXLIBS = $(LTHREAD_LIBS) 30 31 OBJS = slapd-common.o 32 33 # build-tools: FORCE 34 # $(MAKE) $(MFLAGS) load-tools 35 36 # load-tools: $(PROGRAMS) 37 38 slapd-tester: slapd-tester.o $(OBJS) $(XLIBS) 39 $(LTLINK) -o $@ slapd-tester.o $(OBJS) $(LIBS) 40 41 slapd-search: slapd-search.o $(OBJS) $(XLIBS) 42 $(LTLINK) -o $@ slapd-search.o $(OBJS) $(LIBS) 43 44 slapd-read: slapd-read.o $(OBJS) $(XLIBS) 45 $(LTLINK) -o $@ slapd-read.o $(OBJS) $(LIBS) 46 47 slapd-addel: slapd-addel.o $(OBJS) $(XLIBS) 48 $(LTLINK) -o $@ slapd-addel.o $(OBJS) $(LIBS) 49 50 slapd-modrdn: slapd-modrdn.o $(OBJS) $(XLIBS) 51 $(LTLINK) -o $@ slapd-modrdn.o $(OBJS) $(LIBS) 52 53 slapd-modify: slapd-modify.o $(OBJS) $(XLIBS) 54 $(LTLINK) -o $@ slapd-modify.o $(OBJS) $(LIBS) 55 56 slapd-bind: slapd-bind.o $(OBJS) $(XLIBS) 57 $(LTLINK) -o $@ slapd-bind.o $(OBJS) $(LIBS) 58 59 ldif-filter: ldif-filter.o $(OBJS) $(XLIBS) 60 $(LTLINK) -o $@ ldif-filter.o $(OBJS) $(LIBS) 61 62 slapd-mtread: slapd-mtread.o $(OBJS) $(XLIBS) 63 $(LTLINK) -o $@ slapd-mtread.o $(OBJS) $(LIBS) 64 65 slapd-watcher: slapd-watcher.o $(OBJS) $(XLIBS) 66 $(LTLINK) -o $@ slapd-watcher.o $(OBJS) $(LIBS) 67