1 ## Makefile.in for test programs
2 # $OpenLDAP: pkg/ldap/tests/progs/Makefile.in,v 1.22.2.3 2008/02/11 23:26:50 kurt Exp $
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2008 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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>.
16 PROGRAMS
= slapd-tester slapd-search slapd-read slapd-addel slapd-modrdn \
17 slapd-modify slapd-bind
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
23 LDAP_INCDIR
= ..
/..
/include
24 LDAP_LIBDIR
= ..
/..
/libraries
26 XLIBS
= $(LDAP_LIBLDAP_LA
) $(LDAP_LIBLBER_LA
) $(LDAP_LIBLUTIL_A
)
27 XXLIBS
= $(SECURITY_LIBS
) $(LUTIL_LIBS
)
32 # $(MAKE) $(MFLAGS) load-tools
34 # load-tools: $(PROGRAMS)
36 slapd-tester
: slapd-tester.o
$(OBJS
) $(XLIBS
)
37 $(LTLINK
) -o
$@ slapd-tester.o
$(OBJS
) $(LIBS
)
39 slapd-search
: slapd-search.o
$(OBJS
) $(XLIBS
)
40 $(LTLINK
) -o
$@ slapd-search.o
$(OBJS
) $(LIBS
)
42 slapd-read
: slapd-read.o
$(OBJS
) $(XLIBS
)
43 $(LTLINK
) -o
$@ slapd-read.o
$(OBJS
) $(LIBS
)
45 slapd-addel
: slapd-addel.o
$(OBJS
) $(XLIBS
)
46 $(LTLINK
) -o
$@ slapd-addel.o
$(OBJS
) $(LIBS
)
48 slapd-modrdn
: slapd-modrdn.o
$(OBJS
) $(XLIBS
)
49 $(LTLINK
) -o
$@ slapd-modrdn.o
$(OBJS
) $(LIBS
)
51 slapd-modify
: slapd-modify.o
$(OBJS
) $(XLIBS
)
52 $(LTLINK
) -o
$@ slapd-modify.o
$(OBJS
) $(LIBS
)
54 slapd-bind
: slapd-bind.o
$(OBJS
) $(XLIBS
)
55 $(LTLINK
) -o
$@ slapd-bind.o
$(OBJS
) $(LIBS
)