2 ## Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
3 ## COPYING RESTRICTIONS APPLY, see COPYRIGHT file
5 ## Makefile for -llutil
11 NT_OBJS = ntservice.o slapdmsg.res
16 SRCS = base64.c debug.c entropy.c sasl.c signal.c hash.c \
17 md5.c passwd.c sha1.c getpass.c lockf.c utils.c sockpair.c \
18 @LIBSRCS@ $(@PLAT@_SRCS)
20 OBJS = base64.o debug.o entropy.o sasl.o signal.o hash.o \
21 md5.o passwd.o sha1.o getpass.o lockf.o utils.o sockpair.o \
22 @LIBOBJS@ $(@PLAT@_OBJS)
24 LDAP_INCDIR= ../../include
25 LDAP_LIBDIR= ../../libraries
27 NT_DYN_LIB_DEFS = -DLDAP_DECL=dllimport
28 CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS)
30 # These rules are for a Mingw32 build, specifically.
31 # It's ok for them to be here because the clean rule is harmless, and
32 # slapdmsg.res won't get built unless it's declared in OBJS.
34 slapdmsg.res: slapdmsg.rc slapdmsg.bin
35 windres $< -O coff -o $@