X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Fliblutil%2FMakefile.in;h=b527966ebb36aea762524a5d715c375fe552bc4d;hb=70792ad7a9fa962c98580f3a4c2a71d0aee982c0;hp=7f6cb4ffb7ca09f46fa89b84d3b4693fa0a5e006;hpb=e3a4c4ec9c640c03612f90bec1e95bfc55a54947;p=openldap
diff --git a/libraries/liblutil/Makefile.in b/libraries/liblutil/Makefile.in
index 7f6cb4ffb7..b527966ebb 100644
--- a/libraries/liblutil/Makefile.in
+++ b/libraries/liblutil/Makefile.in
@@ -1,6 +1,8 @@
# Makefile for -llutil
# $OpenLDAP$
-## Copyright 1998-2003 The OpenLDAP Foundation.
+## This work is part of OpenLDAP Software .
+##
+## Copyright 1998-2010 The OpenLDAP Foundation.
## All rights reserved.
##
## Redistribution and use in source and binary forms, with or without
@@ -12,6 +14,10 @@
## .
LIBRARY = liblutil.a
+PROGRAM = testavl
+
+LDAP_INCDIR= ../../include
+LDAP_LIBDIR= ../../libraries
NT_SRCS = ntservice.c
NT_OBJS = ntservice.o slapdmsg.res
@@ -19,23 +25,34 @@ NT_OBJS = ntservice.o slapdmsg.res
UNIX_SRCS = detach.c
UNIX_OBJS = detach.o
-SRCS = base64.c csn.c entropy.c sasl.c signal.c hash.c passfile.c \
+XLIBS = $(LIBRARY) $(LDAP_LIBLBER_LA)
+
+SRCS = base64.c entropy.c sasl.c signal.c hash.c passfile.c \
md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c \
- ldif.c fetch.c \
+ avl.c tavl.c ldif.c fetch.c \
+ testavl.c \
+ meter.c \
@LIBSRCS@ $(@PLAT@_SRCS)
-OBJS = base64.o csn.o entropy.o sasl.o signal.o hash.o passfile.o \
+OBJS = base64.o entropy.o sasl.o signal.o hash.o passfile.o \
md5.o passwd.o sha1.o getpass.o lockf.o utils.o uuid.o sockpair.o \
- ldif.o fetch.o \
+ avl.o tavl.o ldif.o fetch.o \
+ meter.o \
@LIBOBJS@ $(@PLAT@_OBJS)
-LDAP_INCDIR= ../../include
-LDAP_LIBDIR= ../../libraries
+testavl: $(XLIBS) testavl.o
+ (LTLINK) -o $@ testavl.o $(LIBS)
+
+testtavl: $(XLIBS) testtavl.o
+ (LTLINK) -o $@ testtavl.o $(LIBS)
# These rules are for a Mingw32 build, specifically.
# It's ok for them to be here because the clean rule is harmless, and
# slapdmsg.res won't get built unless it's declared in OBJS.
+slapdmsg.bin: FORCE
+ @if [ ! -f $@ ]; then cp $(srcdir)/$@ .; fi
+
slapdmsg.res: slapdmsg.rc slapdmsg.bin
windres $< -O coff -o $@