3 ## Makefile for -llutil
8 NT_SRCS = nt_err.c ntservice.c
9 NT_OBJS = nt_err.o ntservice.o slapdmsg.res
14 SRCS = base64.c debug.c entropy.c \
15 md5.c passwd.c sha1.c getpass.c lockf.c utils.c sockpair.c \
16 @LIBSRCS@ $(@PLAT@_SRCS)
18 OBJS = base64.o debug.o entropy.o \
19 md5.o passwd.o sha1.o getpass.o lockf.o utils.o sockpair.o \
20 @LIBOBJS@ $(@PLAT@_OBJS)
22 LDAP_INCDIR= ../../include
23 LDAP_LIBDIR= ../../libraries
25 NT_DYN_LIB_DEFS = -DLIBLDAP_DECL=dllimport
26 CPPFLAGS = $(@PLAT@_@LIB_LINKAGE@_LIB_DEFS)
28 # These rules are for a Mingw32 build, specifically.
29 # It's ok for them to be here because the clean rule is harmless, and
30 # slapdmsg.res won't get built unless it's declared in OBJS.
32 slapdmsg.res: slapdmsg.rc slapdmsg.bin
33 windres $< -O coff -o $@