]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/Makefile.in
ITS#3139: SASL buffer fix
[openldap] / libraries / liblutil / Makefile.in
index ba9f3ec5e7737c1e1e128a94a58b22914393aedc..6fb3b0a479a8709b2c7880d554be87909704191e 100644 (file)
@@ -1,11 +1,23 @@
+# Makefile for -llutil
 # $OpenLDAP$
-## Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
-## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+## 
+## Copyright 1998-2004 The OpenLDAP Foundation.
+## All rights reserved.
 ##
-## Makefile for -llutil
+## 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>.
 
 LIBRARY        = liblutil.a
+PROGRAM = testavl
+
+LDAP_INCDIR= ../../include       
+LDAP_LIBDIR= ../../libraries
 
 NT_SRCS = ntservice.c
 NT_OBJS = ntservice.o slapdmsg.res
@@ -13,16 +25,21 @@ 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 \
+XLIBS = $(LIBRARY) $(LDAP_LIBLBER_LA)
+
+SRCS   = base64.c csn.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 \
+       avl.c ldif.c fetch.c \
+       testavl.c \
        @LIBSRCS@ $(@PLAT@_SRCS)
 
-OBJS   = base64.o csn.o entropy.o sasl.o signal.o hash.o \
+OBJS   = base64.o csn.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 \
+       avl.o ldif.o fetch.o \
        @LIBOBJS@ $(@PLAT@_OBJS)
 
-LDAP_INCDIR= ../../include       
-LDAP_LIBDIR= ../../libraries
+testavl: $(XLIBS) testavl.o
+       (LTLINK) -o $@ testavl.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