3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2005 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>.
19 LDAP_INCDIR= ../../include
20 LDAP_LIBDIR= ../../libraries
23 NT_OBJS = ntservice.o slapdmsg.res
28 XLIBS = $(LIBRARY) $(LDAP_LIBLBER_LA)
30 SRCS = base64.c csn.c entropy.c sasl.c signal.c hash.c passfile.c \
31 md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c \
32 avl.c tavl.c ldif.c fetch.c \
34 @LIBSRCS@ $(@PLAT@_SRCS)
36 OBJS = base64.o csn.o entropy.o sasl.o signal.o hash.o passfile.o \
37 md5.o passwd.o sha1.o getpass.o lockf.o utils.o uuid.o sockpair.o \
38 avl.o tavl.o ldif.o fetch.o \
39 @LIBOBJS@ $(@PLAT@_OBJS)
41 testavl: $(XLIBS) testavl.o
42 (LTLINK) -o $@ testavl.o $(LIBS)
44 testtavl: $(XLIBS) testtavl.o
45 (LTLINK) -o $@ testtavl.o $(LIBS)
47 # These rules are for a Mingw32 build, specifically.
48 # It's ok for them to be here because the clean rule is harmless, and
49 # slapdmsg.res won't get built unless it's declared in OBJS.
52 @if [ ! -f $@ ]; then cp $(srcdir)/$@ .; fi
54 slapdmsg.res: slapdmsg.rc slapdmsg.bin
55 windres $< -O coff -o $@